Skip to content

Commit

Permalink
chore : 로그인으로 이동 시 localstorage초기화
Browse files Browse the repository at this point in the history
  • Loading branch information
hyuna committed Aug 4, 2024
1 parent 3ab919b commit 1eda55b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const Login: NextPage = () => {
useEffect(() => {
cookie.remove("access_token");
cookie.remove("refresh_token");
localStorage.clear();
}, []);

const BtnColor = () => {
Expand Down

0 comments on commit 1eda55b

Please sign in to comment.