diff --git a/app/assets/javascripts/components/AccountMenu.tsx b/app/assets/javascripts/components/AccountMenu.tsx index 07fad3719..1c4e30a5b 100644 --- a/app/assets/javascripts/components/AccountMenu.tsx +++ b/app/assets/javascripts/components/AccountMenu.tsx @@ -526,7 +526,7 @@ const AccountMenu = observer(({ application, appState }: Props) => { removeAppLaunchedObserver(); removeKeyStatusChangedObserver(); removeProtectionSessionExpiryDateChangedObserver(); - } + }; }, []); // `reloadAutoLockInterval` gets interval asynchronously, therefore we call `useEffect` to set initial @@ -551,113 +551,113 @@ const AccountMenu = observer(({ application, appState }: Props) => { }, [isEmailFocused, isPasscodeFocused]); return ( -
-
-
-
Account
- Close +
+
+
+
Account
+ Close
-
+
{!user && !showLogin && !showRegister && ( -
-
-
Sign in or register to enable sync and end-to-end encryption.
+
+
+
Sign in or register to enable sync and end-to-end encryption.
-
+
-
+
Standard Notes is free on every platform, and comes standard with sync and encryption.
)} {(showLogin || showRegister) && ( -
-
+
+
{showLogin ? 'Sign In' : 'Register'}
-
-
- +
+ - {showRegister && - } -
- { + {showAdvanced && ( -
-
-
+
+
+
Advanced Options
-
- - + +
{showLogin && ( -