Skip to content

Commit

Permalink
fix: hotfix exception
Browse files Browse the repository at this point in the history
  • Loading branch information
kcwww committed Jan 16, 2024
1 parent 2ae99c7 commit e96bef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front/src/pages/Make/Nickname/Nickname.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const Nickname = () => {
}

if (userData.nickname !== null) navigate('/main');
if (userData.nickname !== "") navigate('/main');

}, []);

useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion front/src/pages/Make/Snowball/Snowball.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Snowball = () => {
logout();
return;
}
console.log(userData);


if (userData.nickname === null || userData.nickname === undefined || userData.nickname === '') {
navigate('/make/nickname');
Expand Down

0 comments on commit e96bef0

Please sign in to comment.