Skip to content

Commit cd9ff6c

Browse files
committed
post-merge fixes
1 parent 58f88a0 commit cd9ff6c

3 files changed

Lines changed: 0 additions & 33 deletions

File tree

patches/react-native-performance+5.1.4+001+fix-soft-crash-by-checking-for-active-react-instance.patch

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/pages/signin/ChooseSSOOrMagicCode.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ function ChooseSSOOrMagicCode({setIsUsingMagicCode}: ChooseSSOOrMagicCodeProps)
3434
const [credentials] = useOnyx(ONYXKEYS.CREDENTIALS, {canBeMissing: true});
3535
const [account] = useOnyx(ONYXKEYS.ACCOUNT, {canBeMissing: true});
3636

37-
const [account] = useOnyx(ONYXKEYS.ACCOUNT, {canBeMissing: false});
38-
const [credentials] = useOnyx(ONYXKEYS.CREDENTIALS, {canBeMissing: true});
39-
4037
// This view doesn't have a field for user input, so dismiss the device keyboard if shown
4138
useFocusEffect(
4239
useCallback(() => {

src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,9 @@ function BaseValidateCodeForm({autoComplete, isUsingRecoveryCode, setIsUsingReco
232232
* Check that all the form fields are valid, then trigger the submit callback
233233
*/
234234
const validateAndSubmitForm = useCallback(() => {
235-
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
236235
if (account?.isLoading) {
237236
return;
238237
}
239-
240238
if (account?.errors) {
241239
clearAccountMessages();
242240
}

0 commit comments

Comments
 (0)