Skip to content

Commit

Permalink
add useOldDot const
Browse files Browse the repository at this point in the history
  • Loading branch information
war-in committed Nov 5, 2024
1 parent 4b3e539 commit 026ac7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/actions/Session/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,8 @@ function signInAfterTransitionFromOldDot(transitionURL: string) {
clearOnyxBeforeSignIn()
.then(() => {
setUseNewDotSignInPage(useNewDotSignInPage === 'true');
const dismissed = useNewDotSignInPage === 'true' ? 'true' : 'false';
const useOldDot = 'true';
const dismissed = useNewDotSignInPage === 'true' ? useOldDot : 'false';
Onyx.multiSet({
[ONYXKEYS.NVP_TRYNEWDOT]: {classicRedirect: {dismissed}}, // This data is mocked and should be returned by BeginSignUp/SignInUser API commands
});
Expand Down

0 comments on commit 026ac7b

Please sign in to comment.