feat: update routes

This commit is contained in:
enes 2024-10-23 17:54:33 +02:00
parent bb653fa356
commit 7393940027

View File

@ -13,7 +13,7 @@ import { GamePage } from 'pages/game'
export const appRoutes = {
index: '/',
home: '/home',
home: '/',
games: '/games',
game: '/game/:name',
mods: '/mods',
@ -28,7 +28,7 @@ export const appRoutes = {
settingsRelays: '/settings-relays',
settingsPreferences: '/settings-preferences',
settingsAdmin: '/settings-admin',
profile: '/profile/:nprofile'
profile: '/profile/:nprofile?'
}
export const getGamePageRoute = (name: string) =>