File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import ProtectedRoute from './providers/ProtectedRoute.tsx';
11
11
12
12
import UserInvite from './components/common/UserInvite.tsx' ;
13
13
import EditGroupPage from './pages/EditGroupPage.tsx' ;
14
- import AddGroupPage from './pages/AddGroupPage .tsx' ;
14
+ import AddGroupSchedulePage from './pages/AddGroupSchedulePage .tsx' ;
15
15
16
16
const router = createBrowserRouter ( [
17
17
{
@@ -35,7 +35,7 @@ const router = createBrowserRouter([
35
35
} ,
36
36
{
37
37
path : '/add-group' ,
38
- element : < AddGroupPage /> ,
38
+ element : < AddGroupSchedulePage /> ,
39
39
} ,
40
40
{
41
41
path : '/login' ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const AddGroupPage = () => {
5
5
const handleSubmit : React . FormEventHandler < HTMLFormElement > = ( e ) => {
6
6
e . preventDefault ( ) ;
7
7
const formData = new FormData ( e . currentTarget ) ;
8
- console . log ( formData ) ;
8
+ console . log ( formData . get ( 'name' ) ) ;
9
9
} ;
10
10
11
11
return (
You can’t perform that action at this time.
0 commit comments