From f5d8531b8ec57a4aedcd92467e0f1e494e033db1 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Sat, 21 Dec 2019 13:43:42 -0500 Subject: [PATCH] call preference get for all users --- ui/component/app/view.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/component/app/view.jsx b/ui/component/app/view.jsx index 3f90a92dd..e402bb036 100644 --- a/ui/component/app/view.jsx +++ b/ui/component/app/view.jsx @@ -156,6 +156,13 @@ function App(props: Props) { } }, [hasVerifiedEmail, signIn, hasSignedIn]); + // @if TARGET='app' + useEffect(() => { + console.log('?'); + updatePreferences(); + }, []); + // @endif + useEffect(() => { if (hasVerifiedEmail && syncEnabled) { checkSync(); @@ -169,13 +176,6 @@ function App(props: Props) { }; } }, [hasVerifiedEmail, syncEnabled, checkSync]); - // @if TARGET='app' - useEffect(() => { - if (hasVerifiedEmail === false) { - updatePreferences(); - } - }, [hasVerifiedEmail]); - // @endif useEffect(() => { if (syncError) {