Skip to content

Commit

Permalink
fix: check token
Browse files Browse the repository at this point in the history
  • Loading branch information
saa00123 committed Sep 3, 2023
1 parent a0cbba8 commit f9d18eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions front/src/pages/main/TeamList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ function TeamList() {

if (isLoginSuccessful) {
const newNickname = "최정훈";
setNickname(newNickname);
}
console.log(setNickname);
}, []);

useEffect(() => {
console.log("Changed nickname: ", nickname);
}, [nickname]);

return (
<div className='flex flex-col justify-center items-center m-auto w-[100vw] h-[100vh]'>
<TeamListBox />
Expand Down

0 comments on commit f9d18eb

Please sign in to comment.