diff --git a/apps/desktop/src/app/command-palette/index.tsx b/apps/desktop/src/app/command-palette/index.tsx
index b9e9944685f3..0014e4e71f12 100644
--- a/apps/desktop/src/app/command-palette/index.tsx
+++ b/apps/desktop/src/app/command-palette/index.tsx
@@ -243,12 +243,8 @@ const PaletteRow = memo(function PaletteRow({
{item.label}
{combo && }
- {item.to && (
-
- )}
- {item.active && (
-
- )}
+ {item.to && }
+ {item.active && }
)
})
diff --git a/apps/desktop/src/app/settings/index.tsx b/apps/desktop/src/app/settings/index.tsx
index 3411a749d195..8dccf3a6b42d 100644
--- a/apps/desktop/src/app/settings/index.tsx
+++ b/apps/desktop/src/app/settings/index.tsx
@@ -141,8 +141,9 @@ export function SettingsView({ onClose, onConfigSaved, onMainModelChanged }: Set
}
}
- const navGroups: OverlayNavGroup[] = useMemo(() => [
- ...SECTIONS.map(s => {
+ const navGroups: OverlayNavGroup[] = useMemo(
+ () => [
+ ...SECTIONS.map(s => {
const view = `config:${s.id}` as SettingsViewId
return {
@@ -257,8 +258,9 @@ export function SettingsView({ onClose, onConfigSaved, onMainModelChanged }: Set
label: t.settings.nav.about,
onSelect: () => setActiveView('about')
}
- ]
- , [activeView, keysView, providerView, t, setActiveView, openProviderView, openKeysView])
+ ],
+ [activeView, keysView, providerView, t, setActiveView, openProviderView, openKeysView]
+ )
const navFooter = (
<>