Skip to content

Commit

Permalink
Fix complete sign up syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsolo committed Dec 10, 2024
1 parent b61b37f commit 750136e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/common/src/store/account/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,13 @@ export function* fetchAccountAsync({ isSignUp = false }): SagaIterator {
})
)
}
const accountData = yield* call(userApiFetchSaga.getUserAccount, {
wallet
})
const accountData = yield* call(
userApiFetchSaga.getUserAccount,
{
wallet
},
true // force refresh to get updated user w handle
)
if (!accountData || !accountData?.user) {
yield* put(
fetchAccountFailed({
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/common/store/pages/signon/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,7 @@ function* signUp() {
'true'
)
}
return handle
} catch (err: unknown) {
// We are including 0 status code here to indicate rate limit,
// which appears to be happening for some devices.
Expand Down

0 comments on commit 750136e

Please sign in to comment.