Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed app.db-shm
Binary file not shown.
Empty file removed app.db-wal
Empty file.
Binary file modified bin/Debug/net8.0/Web-Development.dll
Binary file not shown.
Binary file modified bin/Debug/net8.0/Web-Development.pdb
Binary file not shown.
7 changes: 7 additions & 0 deletions frontend/clientapp/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import AdminDashboard from './components/shop/Admindashboard';
import UserDetails from './components/auth/Userdetails';
import Achievements from './components/achievements/Achievements';
import Layout from './components/layout/Layout';
import UserDashboard from './components/shop/UserDashboard';

interface ProtectedRouteProps {
children: ReactNode;
Expand Down Expand Up @@ -72,6 +73,12 @@ function App() {
<Events />
</ProtectedRoute>
} />

<Route path="/UserDashboard" element={
<ProtectedRoute>
<UserDashboard />
</ProtectedRoute>
} />

<Route path="/achievements" element={
<ProtectedRoute>
Expand Down
Loading