File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
demos/react-supabase-todolist/src/app Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -19,24 +19,23 @@ export const SQL_CONSOLE_ROUTE = '/sql-console';
1919export const DEFAULT_ENTRY_ROUTE = '/views/todo-lists' ;
2020
2121export const router = createBrowserRouter ( [
22+ {
23+ path : "/" ,
24+ element : < EntryPage /> ,
25+ } ,
26+ {
27+ path : LOGIN_ROUTE ,
28+ element : < LoginPage /> ,
29+ } ,
30+ {
31+ path : REGISTER_ROUTE ,
32+ element : < RegisterPage /> ,
33+ } ,
2234 {
2335 element : < ViewsLayout >
2436 < Outlet />
2537 </ ViewsLayout > ,
2638 children : [
27-
28- {
29- path : "/" ,
30- element : < EntryPage /> ,
31- } ,
32- {
33- path : LOGIN_ROUTE ,
34- element : < LoginPage /> ,
35- } ,
36- {
37- path : REGISTER_ROUTE ,
38- element : < RegisterPage /> ,
39- } ,
4039 {
4140 path : TODO_LISTS_ROUTE ,
4241 element : < TodoListsPage />
You can’t perform that action at this time.
0 commit comments