Remove the new route.

pull/3534/head
Mitja Bezenšek 2024-04-17 16:09:03 +02:00
rodzic 20e79533f9
commit ef16ad5c68
1 zmienionych plików z 0 dodań i 7 usunięć

Wyświetl plik

@ -37,13 +37,6 @@ export const router = createRoutesFromElements(
return redirect(`/r/${id}`)
}}
/>
<Route
path="/new"
loader={() => {
const id = 'v2' + nanoid()
return redirect(`/r/${id}`)
}}
/>
<Route path="/r/:roomId" lazy={() => import('./pages/public-multiplayer')} />
<Route path="/r/:boardId/history" lazy={() => import('./pages/history')} />
<Route