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';
|
||||
|
||||
export default [
|
||||
index('routes/home.tsx'),
|
||||
route('ar/:id', './qr-ar/ar-viewer.tsx'),
|
||||
index('routes/dashboard.tsx'),
|
||||
route('login', 'routes/login.tsx'),
|
||||
route('ar/:id', 'qr-ar/ar-viewer.tsx'),
|
||||
] satisfies RouteConfig;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user