diff --git a/web/src/components/auth/default/index.tsx b/web/src/components/auth/default/index.tsx
index c830702..10b5189 100644
--- a/web/src/components/auth/default/index.tsx
+++ b/web/src/components/auth/default/index.tsx
@@ -19,7 +19,7 @@ const Default= () => {
username,
password
}));
- navigate("/sign/number");
+ navigate("/sign/number/");
};
return (
@@ -47,7 +47,7 @@ const Default= () => {
다음
- navigate("/sign")}>로그인 하러 가기
+ navigate("/sign/")}>로그인 하러 가기
diff --git a/web/src/components/auth/login/index.tsx b/web/src/components/auth/login/index.tsx
index a924418..455060a 100644
--- a/web/src/components/auth/login/index.tsx
+++ b/web/src/components/auth/login/index.tsx
@@ -7,7 +7,7 @@ import * as Auth from "../start/style";
import Polygon from "../../../assets/Polygon 2.png";
import logo from "../../../assets/logo.svg";
-const Login: React.FC = () => {
+const Login = () => {
const navigate = useNavigate();
const [users] = useAtom(usersAtom);
const [, setCurrentUser] = useAtom(currentUserAtom);
@@ -20,7 +20,7 @@ const Login: React.FC = () => {
);
if (user) {
setCurrentUser(user);
- navigate("/home");
+ navigate("/home/");
} else {
alert("아이디 또는 비밀번호가 틀렸습니다.");
}
@@ -51,7 +51,7 @@ const Login: React.FC = () => {
시작
- navigate("/sign/name")}>회원가입 하러 가기
+ navigate("/sign/name/")}>회원가입 하러 가기
diff --git a/web/src/components/auth/number/index.tsx b/web/src/components/auth/number/index.tsx
index 5babb27..af9c952 100644
--- a/web/src/components/auth/number/index.tsx
+++ b/web/src/components/auth/number/index.tsx
@@ -22,7 +22,7 @@ const Number = () => {
setUsers([...users, newUser]);
setCurrentUser(null);
- navigate("/login");
+ navigate("/login/");
};
return (
@@ -42,7 +42,7 @@ const Number = () => {
회원가입
- navigate("/sign")}>로그인 하러 가기
+ navigate("/sign/")}>로그인 하러 가기
diff --git a/web/src/components/auth/start/index.tsx b/web/src/components/auth/start/index.tsx
index ec11ab6..e8ea45a 100644
--- a/web/src/components/auth/start/index.tsx
+++ b/web/src/components/auth/start/index.tsx
@@ -21,11 +21,11 @@ const Auth = ()=>{
const consumerAuth = ()=>{
setAuthValid(true);
- navigate("/login");
+ navigate("/login/");
}
const guideAuth = ()=>{
setAuthValid(false);
- navigate("/login");
+ navigate("/login/");
}
return(
diff --git a/web/src/components/routers/index.tsx b/web/src/components/routers/index.tsx
index 0790c54..41f0e60 100644
--- a/web/src/components/routers/index.tsx
+++ b/web/src/components/routers/index.tsx
@@ -21,16 +21,17 @@ const Router=()=>{
}/>
- }/>
- }/>
- }/>
- }/>
- }/>
- }/>
- }/>
- }/>
- }/>
- }/>
+ }/>
+ }/>
+ }/>
+ }/>
+ }/>
+ }/>
+ }/>
+ }/>
+ }/>
+ }/>
+ }/>
)