Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(settings): compact return and reorder icon definitions

Steven Enamakel187f9fbeedd1
diff --git a/app/src/components/settings/hooks/useSettingsNavigation.ts b/app/src/components/settings/hooks/useSettingsNavigation.ts
index dbe5b78683..4036f11b40 100644
--- a/app/src/components/settings/hooks/useSettingsNavigation.ts
+++ b/app/src/components/settings/hooks/useSettingsNavigation.ts
@@ -170,11 +170,5 @@ export const useSettingsNavigation = (): SettingsNavigationHook => {
const breadcrumbs: BreadcrumbItem[] = [];
- return {
- currentRoute,
- navigateToSettings,
- navigateBack,
- closeSettings,
- breadcrumbs,
- };
+ return { currentRoute, navigateToSettings, navigateBack, closeSettings, breadcrumbs };
};
diff --git a/app/src/components/settings/layout/settingsNavIcons.tsx b/app/src/components/settings/layout/settingsNavIcons.tsx
index 7dd72e19bf..3cae9b5bc2 100644
--- a/app/src/components/settings/layout/settingsNavIcons.tsx
+++ b/app/src/components/settings/layout/settingsNavIcons.tsx
@@ -97,11 +97,11 @@ export const SETTINGS_NAV_ICONS: Record<string, ReactNode> = {
)
),
security: icon(
- stroke('M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z')
- ),
- migration: icon(
- stroke('M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1M12 3v13m0 0l-4-4m4 4l4-4')
+ stroke(
+ 'M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z'
+ )
),
+ migration: icon(stroke('M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1M12 3v13m0 0l-4-4m4 4l4-4')),
automations: icon(stroke('M13 10V3L4 14h7v7l9-11h-7z')),
'approval-history': icon(
stroke(