Skip to content

Commit a9b147b

Browse files
committed
fix: json stringify token object
1 parent b83a754 commit a9b147b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/callback/callback-page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const CallbackPage = () => {
2727
localStorage.setItem('authToken', tokens.token1);
2828
localStorage.setItem('active_loginid', tokens.acct1);
2929

30-
localStorage.setItem('tokens object', tokens);
30+
localStorage.setItem('tokens object', JSON.stringify(tokens));
3131

3232
window.location.assign('/');
3333
}}

0 commit comments

Comments
 (0)