From 302af63a232aaf9fdb6801db1367b6b5d7e6abb7 Mon Sep 17 00:00:00 2001 From: "IGNY8 VPS (Salman)" Date: Thu, 25 Dec 2025 07:29:11 +0000 Subject: [PATCH] Remove non-existent AdminSystemDashboard import and route The AdminSystemDashboard file doesn't exist in the codebase and was causing a 500 error. Removed the lazy import and route that referenced it. This aligns with the recent removal of the aws-admin pattern from the backend. --- frontend/src/App.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index ec5620e5..c072ad75 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -69,9 +69,6 @@ const AccountSettingsPage = lazy(() => import("./pages/account/AccountSettingsPa const TeamManagementPage = lazy(() => import("./pages/account/TeamManagementPage")); const UsageAnalyticsPage = lazy(() => import("./pages/account/UsageAnalyticsPage")); -// Admin Module - Only dashboard for aws-admin users -const AdminSystemDashboard = lazy(() => import("./pages/admin/AdminSystemDashboard")); - // Reference Data - Lazy loaded const SeedKeywords = lazy(() => import("./pages/Reference/SeedKeywords")); const ReferenceIndustries = lazy(() => import("./pages/Reference/Industries")); @@ -277,13 +274,6 @@ export default function App() { } /> } /> - {/* Admin Routes - Only Dashboard for aws-admin users */} - - - - } /> - {/* Reference Data */} } /> } />