diff --git a/src/ui/component/app/view.jsx b/src/ui/component/app/view.jsx index 25812eb42..bf5bd13b4 100644 --- a/src/ui/component/app/view.jsx +++ b/src/ui/component/app/view.jsx @@ -93,7 +93,7 @@ function App(props: Props) { // to automatically opt-in existing users. Only users that go through the new sign in flow // should be automatically opted-in (they choose to uncheck the option and turn off sync still) useEffect(() => { - if (balance === undefined || accessToken === undefined) { + if (balance === undefined || accessToken === undefined || hasDeterminedIfNewUser) { return; } @@ -121,7 +121,7 @@ function App(props: Props) { } setHasDeterminedIfNewUser(true); }); - }, [balance, accessToken]); + }, [balance, accessToken, hasDeterminedIfNewUser]); useEffect(() => { ReactModal.setAppElement(appRef.current); diff --git a/static/app-strings.json b/static/app-strings.json index fc983ff38..3b58fe1e7 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -830,5 +830,6 @@ "%nameOrTitle% has been published to lbry://%name%. Click here to view it.": "%nameOrTitle% has been published to lbry://%name%. Click here to view it.", "Discussion": "Discussion", "If you don't choose a file, the file from your existing claim %name% will be used": "If you don't choose a file, the file from your existing claim %name% will be used", - "To enable this feature, check 'Save Password' the next time you start the app.": "To enable this feature, check 'Save Password' the next time you start the app." + "To enable this feature, check 'Save Password' the next time you start the app.": "To enable this feature, check 'Save Password' the next time you start the app.", + "An email address is required to sync your account.": "An email address is required to sync your account." } \ No newline at end of file