add first card
This commit is contained in:
@@ -5,7 +5,7 @@ import { AuthLayout } from './layouts/AuthLayout'
|
||||
import { Routes, Route, Navigate } from 'react-router'
|
||||
import Dashboard from './pages/Dashboard'
|
||||
import RootRedirect from './pages/RootRedirect'
|
||||
|
||||
import CardComponent from './components/Card'
|
||||
|
||||
function App() {
|
||||
|
||||
@@ -23,6 +23,9 @@ function App() {
|
||||
<Route path="/dashboard" element={
|
||||
<Dashboard />
|
||||
} />
|
||||
<Route path="/card" element={
|
||||
<CardComponent />
|
||||
} />
|
||||
<Route path="*" element={<Navigate to="/auth/login" replace />} />
|
||||
</Routes>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user