Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e3eb15d

Browse files
fix typing
1 parent 192c3cf commit e3eb15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/factories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const withLoadApp = <T>(
3939

4040
state.isAuthenticating = false;
4141

42-
if (state.jwt) {
42+
if (state.user) {
4343
actions.internal.setPatronPrice();
4444
actions.internal.setSignedInCookie();
4545
effects.analytics.identify('signed_in', true);

0 commit comments

Comments
 (0)