mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-29 18:46:59 +00:00
fmt(js): npm run fix on merge (#73780)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
40a53ca031
commit
8a342a0002
2 changed files with 8 additions and 10 deletions
|
|
@ -243,12 +243,8 @@ const PaletteRow = memo(function PaletteRow({
|
|||
<Icon className="size-3.5 shrink-0 text-muted-foreground" />
|
||||
<span className="truncate">{item.label}</span>
|
||||
{combo && <KbdCombo className="ml-auto opacity-55" combo={combo} size="sm" />}
|
||||
{item.to && (
|
||||
<ChevronRight className={cn('size-3.5 shrink-0 text-muted-foreground/70', !combo && 'ml-auto')} />
|
||||
)}
|
||||
{item.active && (
|
||||
<Check className={cn('size-3.5 shrink-0 text-primary', !combo && !item.to && 'ml-auto')} />
|
||||
)}
|
||||
{item.to && <ChevronRight className={cn('size-3.5 shrink-0 text-muted-foreground/70', !combo && 'ml-auto')} />}
|
||||
{item.active && <Check className={cn('size-3.5 shrink-0 text-primary', !combo && !item.to && 'ml-auto')} />}
|
||||
</CommandItem>
|
||||
)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 = (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue