Skip to content

Commit 1ed37bf

Browse files
authored
Merge pull request #362 from checkmo2025/feat-361
[feat] 이전 코드로 다시 복구
2 parents 31fda22 + ae224aa commit 1ed37bf

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/pages/Auth/ProfilePage.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ const ProfilePage = () => {
1919
const isLoggedIn = Boolean(localStorage.getItem("nickname"));
2020
const blockedPaths = ["/", "/signup", "/profile"];
2121

22-
// /profile 주소 직접 접근 차단
23-
if (location.pathname === "/profile") {
24-
navigate("/", { replace: true });
25-
return;
26-
}
2722

2823
if (isLoggedIn && blockedPaths.includes(location.pathname)) {
2924
(async () => {

0 commit comments

Comments
 (0)