We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6be95e commit 40af181Copy full SHA for 40af181
src/auth/callback.ts
@@ -57,8 +57,8 @@ export async function handleAuthCallback(): Promise<TokenResponse | null> {
57
58
try {
59
await postUserMe();
60
- // const me = await getMyProfile();
61
- // useAuthStore.getState().setUser(me);
+ const me = await getMyProfile();
+ useAuthStore.getState().setUser(me);
62
} catch (e) {
63
console.error('[callback] user sync failed', e);
64
}
0 commit comments