Skip to content

Commit 0e2d912

Browse files
chiragsalianOSBotify
authored andcommitted
Merge pull request #61286 from ChavdaSachin/fix/login-email-auto-unfocus
[CP-stag] Remove fallback value (cherry picked from commit 62a49d2) (cherry-picked to staging by marcaaron)
1 parent eedb3da commit 0e2d912

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/signin/SignInPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function SignInPage({shouldEnableMaxHeight = true}: SignInPageInnerProps, ref: F
154154
const validateCodeFormRef = useRef<BaseValidateCodeFormRef>(null);
155155

156156
const [account] = useOnyx(ONYXKEYS.ACCOUNT, {canBeMissing: true});
157-
const isAccountValidated = account?.validated ?? false;
157+
const isAccountValidated = account?.validated;
158158
const [credentials] = useOnyx(ONYXKEYS.CREDENTIALS, {canBeMissing: true});
159159
/**
160160
This variable is only added to make sure the component is re-rendered

0 commit comments

Comments
 (0)