menydock update, dashboard page create
This commit is contained in:
@@ -3,7 +3,7 @@ import { LoginPage } from './pages/Login'
|
||||
import { SignUp } from './pages/SignUp'
|
||||
import { AuthLayout } from './layouts/AuthLayout'
|
||||
import { Routes, Route, Navigate } from 'react-router'
|
||||
import MenuDockVertical from './layouts/DashLayout'
|
||||
import Dashboard from './pages/Dashboard'
|
||||
|
||||
|
||||
function App() {
|
||||
@@ -20,9 +20,7 @@ function App() {
|
||||
</Route>
|
||||
|
||||
<Route path="/dashboard" element={
|
||||
// <div className="min-h-svh bg-background flex justify-start items-start">
|
||||
<MenuDockVertical />
|
||||
// </div>
|
||||
<Dashboard />
|
||||
} />
|
||||
<Route path="*" element={<Navigate to="/auth/login" replace />} />
|
||||
</Routes>
|
||||
|
||||
Reference in New Issue
Block a user