Skip to content

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

fix(settings): remove duplicate route registration for settings

Steven Enamakele79ec9b46c1c
diff --git a/app/src/components/settings/settingsRouteRegistry.ts b/app/src/components/settings/settingsRouteRegistry.ts
index 716996cfcb..093e18b257 100644
--- a/app/src/components/settings/settingsRouteRegistry.ts
+++ b/app/src/components/settings/settingsRouteRegistry.ts
@@ -483,20 +483,10 @@ export const SETTINGS_ROUTE_REGISTRY: SettingsRegistryEntry[] = [
],
},
- // =========================================================================
- // NOTIFICATIONS section leaf panels
- // =========================================================================
- // alerts is an external link (→ /notifications) handled inline in Settings.tsx
- {
- id: 'notifications',
- route: 'notifications',
- titleKey: 'settings.notifications.menuTitle',
- descriptionKey: 'settings.notifications.menuDesc',
- section: 'notifications',
- searchKeywords: ['alerts', 'push', 'preferences', 'routing'],
- navGroup: 'general',
- navOrder: 2,
- },
+ // The Notifications settings page (preferences toggles) was removed
+ // entirely; `/settings/notifications` now redirects to Account
+ // (`settingsRouteElements`). Alerts remain reachable as the external
+ // `/notifications` notification-center page, handled inline in Settings.tsx.
// =========================================================================
// CRYPTO section leaf panels