feat(router): register all form routes and wrap app with AuthProvider
This commit is contained in:
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user