Skip to content

Commit 3856251

Browse files
committed
chore(testdrive): fix linter issues
1 parent 5ff665b commit 3856251

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libs/Navigation/AppNavigator/AuthScreens.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ function AuthScreens({session, lastOpenedPublicRoomID, initialLastUpdateIDApplie
225225
const currentUrl = getCurrentUrl();
226226
const delegatorEmail = getSearchParamFromUrl(currentUrl, 'delegatorEmail');
227227

228-
const [account] = useOnyx(ONYXKEYS.ACCOUNT);
228+
const [account] = useOnyx(ONYXKEYS.ACCOUNT, {
229+
canBeMissing: true,
230+
});
229231
const modal = useRef<OnyxTypes.Modal>({});
230232
const {isOnboardingCompleted} = useOnboardingFlowRouter();
231233
const [shouldShowRequire2FAPage, setShouldShowRequire2FAPage] = useState(!!account?.needsTwoFactorAuthSetup && !account.requiresTwoFactorAuth);

0 commit comments

Comments
 (0)