From 71d04943ee0845b16d33344f1110d3b0b9cf2c0a Mon Sep 17 00:00:00 2001 From: VardanHakobyan Date: Wed, 9 Jun 2021 12:23:14 +0400 Subject: [PATCH] chore: run prettier --- .../javascripts/components/AccountMenu.tsx | 308 +++++++++--------- .../ui_models/app_state/account_menu_state.ts | 2 +- 2 files changed, 155 insertions(+), 155 deletions(-) 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 && ( -