From 8a342a000282d54ed02e9382eaaf02baf805b139 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 02:10:16 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#73780) Co-authored-by: github-actions[bot] --- apps/desktop/src/app/command-palette/index.tsx | 8 ++------ apps/desktop/src/app/settings/index.tsx | 10 ++++++---- 2 files changed, 8 insertions(+), 10 deletions(-) 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 = ( <>