refactor: update routing
This commit is contained in:
parent
1138ee2fa0
commit
e04fc22bb8
@ -1,6 +1,7 @@
|
|||||||
import { type RouteConfig, index, route } from '@react-router/dev/routes';
|
import { type RouteConfig, index, route } from '@react-router/dev/routes';
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
index('routes/home.tsx'),
|
index('routes/dashboard.tsx'),
|
||||||
route('ar/:id', './qr-ar/ar-viewer.tsx'),
|
route('login', 'routes/login.tsx'),
|
||||||
|
route('ar/:id', 'qr-ar/ar-viewer.tsx'),
|
||||||
] satisfies RouteConfig;
|
] satisfies RouteConfig;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user