Browse Source

fix: type error

Adam 1 month ago
parent
commit
96a9744347
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/app/src/components/settings-general.tsx

+ 1 - 0
packages/app/src/components/settings-general.tsx

@@ -113,6 +113,7 @@ export const SettingsGeneral: Component = () => {
                 size="small"
                 size="small"
                 triggerStyle={{ "font-family": monoFontFamily(settings.appearance.font()), "min-width": "180px" }}
                 triggerStyle={{ "font-family": monoFontFamily(settings.appearance.font()), "min-width": "180px" }}
               >
               >
+                {/* @ts-expect-error */}
                 {(option) => <span style={{ "font-family": monoFontFamily(option?.value) }}>{option?.label}</span>}
                 {(option) => <span style={{ "font-family": monoFontFamily(option?.value) }}>{option?.label}</span>}
               </Select>
               </Select>
             </SettingsRow>
             </SettingsRow>