Skip to content

Commit

Permalink
(Team-Coverflow#285)bugfix: 약관 동의 페이지 코드 받는 로직 수정중입니다.
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJayleee committed May 11, 2024
1 parent 973a416 commit 575d457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/global/token/tokenManagement.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const TokenManagement = () => {

if (role === 'GUEST') {
console.log('약관 동의 페이지로 이동합니다.');
navigate('/login/terms', { state: code });
navigate('/login/terms', { state: {code} });
} else {
fetchToken(code)
.then((headers) => {
Expand Down

0 comments on commit 575d457

Please sign in to comment.