-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49042 from bernhardoj/fix/47883-magic-code-expire…
…d-briefly Fix magic code expired is shown briefly
- Loading branch information
Showing
3 changed files
with
28 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,7 @@ | ||
import type {StackScreenProps} from '@react-navigation/stack'; | ||
import type {OnyxEntry} from 'react-native-onyx'; | ||
import type {PublicScreensParamList} from '@libs/Navigation/types'; | ||
import type SCREENS from '@src/SCREENS'; | ||
import type {Account, Credentials, Session} from '@src/types/onyx'; | ||
|
||
type ValidateLoginPageOnyxNativeProps = { | ||
/** Session of currently logged in user */ | ||
session: OnyxEntry<Session>; | ||
}; | ||
type ValidateLoginPageProps = StackScreenProps<PublicScreensParamList, typeof SCREENS.VALIDATE_LOGIN>; | ||
|
||
type ValidateLoginPageOnyxProps = ValidateLoginPageOnyxNativeProps & { | ||
/** The details about the account that the user is signing in with */ | ||
account: OnyxEntry<Account>; | ||
|
||
/** The credentials of the person logging in */ | ||
credentials: OnyxEntry<Credentials>; | ||
}; | ||
|
||
type ValidateLoginPageProps<OnyxProps> = OnyxProps & StackScreenProps<PublicScreensParamList, typeof SCREENS.VALIDATE_LOGIN>; | ||
|
||
export type {ValidateLoginPageOnyxNativeProps, ValidateLoginPageOnyxProps, ValidateLoginPageProps}; | ||
export default ValidateLoginPageProps; |