Skip to content

Commit 7576bdc

Browse files
committed
refactor: 그룹 스케쥴 추가 페이지 파일명 변경
1 parent a3935d4 commit 7576bdc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import ProtectedRoute from './providers/ProtectedRoute.tsx';
1111

1212
import UserInvite from './components/common/UserInvite.tsx';
1313
import EditGroupPage from './pages/EditGroupPage.tsx';
14-
import AddGroupPage from './pages/AddGroupPage.tsx';
14+
import AddGroupSchedulePage from './pages/AddGroupSchedulePage.tsx';
1515

1616
const router = createBrowserRouter([
1717
{
@@ -35,7 +35,7 @@ const router = createBrowserRouter([
3535
},
3636
{
3737
path: '/add-group',
38-
element: <AddGroupPage />,
38+
element: <AddGroupSchedulePage />,
3939
},
4040
{
4141
path: '/login',

src/pages/AddGroupPage.tsx renamed to src/pages/AddGroupSchedulePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const AddGroupPage = () => {
55
const handleSubmit: React.FormEventHandler<HTMLFormElement> = (e) => {
66
e.preventDefault();
77
const formData = new FormData(e.currentTarget);
8-
console.log(formData);
8+
console.log(formData.get('name'));
99
};
1010

1111
return (

0 commit comments

Comments
 (0)