fixes
This commit is contained in:
@@ -73,7 +73,6 @@ const AccountSettingsPage = lazy(() => import("./pages/account/AccountSettingsPa
|
||||
// TeamManagementPage - Now integrated as tab in AccountSettingsPage
|
||||
const UsageAnalyticsPage = lazy(() => import("./pages/account/UsageAnalyticsPage"));
|
||||
const UsageDashboardPage = lazy(() => import("./pages/account/UsageDashboardPage"));
|
||||
const UsageLogsPage = lazy(() => import("./pages/account/UsageLogsPage"));
|
||||
const ContentSettingsPage = lazy(() => import("./pages/account/ContentSettingsPage"));
|
||||
const NotificationsPage = lazy(() => import("./pages/account/NotificationsPage"));
|
||||
|
||||
@@ -241,14 +240,13 @@ export default function App() {
|
||||
<Route path="/account/plans/history" element={<PlansAndBillingPage />} />
|
||||
<Route path="/account/purchase-credits" element={<Navigate to="/account/plans" replace />} />
|
||||
|
||||
{/* Usage Dashboard - Single comprehensive page */}
|
||||
{/* Usage Dashboard - Single comprehensive page with integrated logs */}
|
||||
<Route path="/account/usage" element={<UsageDashboardPage />} />
|
||||
{/* Usage Logs - Detailed operation history */}
|
||||
<Route path="/account/usage/logs" element={<UsageLogsPage />} />
|
||||
{/* Legacy routes redirect to dashboard */}
|
||||
<Route path="/account/usage/credits" element={<UsageDashboardPage />} />
|
||||
<Route path="/account/usage/insights" element={<UsageDashboardPage />} />
|
||||
<Route path="/account/usage/activity" element={<UsageDashboardPage />} />
|
||||
<Route path="/account/usage/logs" element={<Navigate to="/account/usage" replace />} />
|
||||
<Route path="/account/usage/credits" element={<Navigate to="/account/usage" replace />} />
|
||||
<Route path="/account/usage/insights" element={<Navigate to="/account/usage" replace />} />
|
||||
<Route path="/account/usage/activity" element={<Navigate to="/account/usage" replace />} />
|
||||
|
||||
{/* Content Settings - with sub-routes for sidebar navigation */}
|
||||
<Route path="/account/content-settings" element={<ContentSettingsPage />} />
|
||||
|
||||
Reference in New Issue
Block a user