refactor: update routing

This commit is contained in:
rajun 2026-07-21 18:12:43 +05:30
parent 1138ee2fa0
commit e04fc22bb8

View File

@ -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;