fix: always call doSignIn on web when
This commit is contained in:
parent
3a7348af64
commit
6b0f791144
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ function App(props: Props) {
|
||||||
|
|
||||||
// Keep this at the end to ensure initial setup effects are run first
|
// Keep this at the end to ensure initial setup effects are run first
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (hasVerifiedEmail && balance !== undefined) {
|
// Wait for balance to be populated on desktop so we know when we can begin syncing
|
||||||
|
// @syncwithbalancefixme
|
||||||
|
if (hasVerifiedEmail && (IS_WEB || balance !== undefined)) {
|
||||||
signIn();
|
signIn();
|
||||||
}
|
}
|
||||||
}, [hasVerifiedEmail, signIn, balance]);
|
}, [hasVerifiedEmail, signIn, balance]);
|
||||||
|
|
Loading…
Reference in a new issue