fix typo
This commit is contained in:
parent
d556a4b8dd
commit
fde204b3b5
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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."
|
||||
}
|
Loading…
Add table
Reference in a new issue