Skip to content

Commit 8df9743

Browse files
committed
fix crash
1 parent f7b2883 commit 8df9743

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/auth/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ const Auth = () => {
99
const accessToken = asPath.split('access_token=')[1];
1010
// @ts-ignore
1111
window.localStorage.setItem('feathers-jwt', accessToken);
12-
// dispatch(AuthCreators.logIn({ strategy: 'jwt', accessToken }));
12+
dispatch(AuthCreators.logIn({ strategy: 'jwt', accessToken }));
1313
} else {
14-
// push('/');
14+
push('/');
1515
}
1616
return null;
1717

0 commit comments

Comments
 (0)