feat(router): register all form routes and wrap app with AuthProvider

This commit is contained in:
2026-02-22 00:16:58 +07:00
parent e825b82d1c
commit 58d74cb8c8
2 changed files with 10 additions and 2 deletions
+4 -1
View File
@@ -5,5 +5,8 @@ export default [
route("login", "routes/login.tsx"),
route("register", "routes/register.tsx"),
route("forms", "routes/forms.tsx"),
route("forms/:id", "routes/form.tsx"),
route("forms/new", "routes/create-form.tsx"),
route("form/:id", "routes/form.tsx"),
route("form/:id/edit", "routes/edit-form.tsx"),
route("*", "routes/not-found.tsx"),
] satisfies RouteConfig;