From 6b0f79114417289d58d034e4eaac7077b879c9c7 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 8 Oct 2019 14:11:52 -0400 Subject: [PATCH] fix: always call doSignIn on web when --- src/ui/component/app/view.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/component/app/view.jsx b/src/ui/component/app/view.jsx index 9b2027d3d..db57419e0 100644 --- a/src/ui/component/app/view.jsx +++ b/src/ui/component/app/view.jsx @@ -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]);