Skip to content

Commit e19194b

Browse files
committed
refreshSession should set user
1 parent 9042403 commit e19194b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/client/src/accounts-client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ export class AccountsClient {
278278

279279
await this.storeTokens(refreshedSession.tokens);
280280
this.store.dispatch(setTokens(refreshedSession.tokens));
281+
this.store.dispatch(setUser(refreshedSession.user));
281282
}
282283
} catch (err) {
283284
this.store.dispatch(loggingIn(false));

0 commit comments

Comments
 (0)