fix: Settings submenu standalone-only, dashboard path, add admin bar link

This commit is contained in:
dwindown
2025-11-05 10:44:08 +07:00
parent 12e982b3e5
commit 3e7d75c98c
3 changed files with 28 additions and 5 deletions

View File

@@ -328,7 +328,8 @@ function AppRoutes() {
return (
<Routes>
{/* Dashboard */}
<Route path="/" element={<Dashboard />} />
<Route path="/" element={<Navigate to="/dashboard" replace />} />
<Route path="/dashboard" element={<Dashboard />} />
<Route path="/dashboard/revenue" element={<DashboardRevenue />} />
<Route path="/dashboard/orders" element={<DashboardOrders />} />
<Route path="/dashboard/products" element={<DashboardProducts />} />