diff --git a/view/next-project/src/components/auth/SignInView.tsx b/view/next-project/src/components/auth/SignInView.tsx index 7ebacfda2..0930221ec 100644 --- a/view/next-project/src/components/auth/SignInView.tsx +++ b/view/next-project/src/components/auth/SignInView.tsx @@ -39,7 +39,7 @@ export default function SignInView() { }; setAuth(authData); setUser(userRes); - Router.push('/purchaseorders'); + Router.push('/my_page'); } else { alert( 'ログインに失敗しました。メールアドレスもしくはパスワードが間違っている可能性があります', diff --git a/view/next-project/src/constants/linkItem.tsx b/view/next-project/src/constants/linkItem.tsx index 089e209f9..dfa2f3c28 100644 --- a/view/next-project/src/constants/linkItem.tsx +++ b/view/next-project/src/constants/linkItem.tsx @@ -74,7 +74,7 @@ export const MyPageLinkItems: LinkItemProps[] = [ { name: 'マイページ', icon: , - href: '/mypage', + href: '/my_page', isParent: false, }, ]; diff --git a/view/next-project/src/pages/mypage/index.tsx b/view/next-project/src/pages/my_page/index.tsx similarity index 100% rename from view/next-project/src/pages/mypage/index.tsx rename to view/next-project/src/pages/my_page/index.tsx