fix: always call doSignIn on web when

This commit is contained in:
Sean Yesmunt 2019-10-08 14:11:52 -04:00
parent 3a7348af64
commit 6b0f791144

View file

@ -108,7 +108,9 @@ function App(props: Props) {
// Keep this at the end to ensure initial setup effects are run first
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();
}
}, [hasVerifiedEmail, signIn, balance]);