File tree Expand file tree Collapse file tree 1 file changed +47
-41
lines changed Expand file tree Collapse file tree 1 file changed +47
-41
lines changed Original file line number Diff line number Diff line change @@ -14,55 +14,61 @@ import UserInvite from './components/common/UserInvite.tsx';
14
14
const router = createBrowserRouter ( [
15
15
{
16
16
path : '/' ,
17
- element : (
18
- < ProtectedRoute >
19
- < App />
20
- </ ProtectedRoute >
21
- ) ,
22
- } ,
23
- {
24
- path : '/login' ,
25
- element : < LoginPage /> ,
26
- } ,
27
- {
28
- path : '/join' ,
29
- element : < JoinPage /> ,
30
- } ,
31
- {
32
- path : '/editPw' ,
33
- element : < ResetPwPage /> ,
34
- } ,
35
- {
36
- path : '/change-password' ,
37
- element : < ChangePasswordPage /> ,
38
- } ,
39
- {
40
- path : '*' ,
41
- element : < NotFound /> ,
42
- } ,
43
- {
44
- path : '/test' ,
45
17
children : [
46
18
{
47
- path : 'inputForm' ,
48
- element : < TextInputForm /> ,
19
+ index : true ,
20
+ element : (
21
+ < ProtectedRoute >
22
+ < App />
23
+ </ ProtectedRoute >
24
+ ) ,
49
25
} ,
26
+
50
27
{
51
- path : 'UserInvite' ,
52
- element : < UserInvite /> ,
28
+ path : '/login' ,
29
+ element : < LoginPage /> ,
30
+ } ,
31
+ {
32
+ path : '/join' ,
33
+ element : < JoinPage /> ,
34
+ } ,
35
+ {
36
+ path : '/editPw' ,
37
+ element : < ResetPwPage /> ,
38
+ } ,
39
+ {
40
+ path : '/change-password' ,
41
+ element : < ChangePasswordPage /> ,
42
+ } ,
43
+ {
44
+ path : '*' ,
45
+ element : < NotFound /> ,
53
46
} ,
54
- ] ,
55
- } ,
56
- {
57
- path : '/policy' ,
58
- children : [
59
47
{
60
- path : 'personalInfo' ,
61
- element : < Policy . PersonalInfoPage /> ,
48
+ path : '/test' ,
49
+ children : [
50
+ {
51
+ path : 'inputForm' ,
52
+ element : < TextInputForm /> ,
53
+ } ,
54
+ {
55
+ path : 'UserInvite' ,
56
+ element : < UserInvite /> ,
57
+ } ,
58
+ ] ,
62
59
} ,
63
60
{
64
- path : 'usecondition' ,
65
- element : < Policy . UseConditionPage /> ,
61
+ path : '/policy' ,
62
+ children : [
63
+ {
64
+ path : 'personalInfo' ,
65
+ element : < Policy . PersonalInfoPage /> ,
66
+ } ,
67
+ {
68
+ path : 'usecondition' ,
69
+ element : < Policy . UseConditionPage /> ,
70
+ } ,
71
+ ] ,
66
72
} ,
67
73
] ,
68
74
} ,
You can’t perform that action at this time.
0 commit comments