Skip to content

Commit

Permalink
feat: 메인페이지 라우팅 로직 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
ha3158987 committed May 28, 2021
1 parent 948ed94 commit b59d07b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/pages/LoadingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const LoadingPage = () => {
.then(({ token }) => {
console.log("token입니다: ", token);
localStorage.setItem('token', token);
window.location.href="http://localhost:3000";
//mainpage로 돌아가는 로직 필요
});
}
Expand Down

0 comments on commit b59d07b

Please sign in to comment.