File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/pages/ValidateLoginPage Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import * as Session from '../../libs/actions/Session';
1010import useLocalize from '../../hooks/useLocalize' ;
1111import ExpiredValidateCodeModal from '../../components/ValidateCode/ExpiredValidateCodeModal' ;
1212import Navigation from '../../libs/Navigation/Navigation' ;
13- import ROUTES from '../../ROUTES' ;
1413import CONST from '../../CONST' ;
1514import JustSignedInModal from '../../components/ValidateCode/JustSignedInModal' ;
1615
@@ -62,7 +61,7 @@ function ValidateLoginPage(props) {
6261 useEffect ( ( ) => {
6362 if ( ! login && isSignedIn && ( autoAuthState === CONST . AUTO_AUTH_STATE . SIGNING_IN || autoAuthState === CONST . AUTO_AUTH_STATE . JUST_SIGNED_IN ) ) {
6463 // The user clicked the option to sign in the current tab
65- Navigation . navigate ( ROUTES . REPORT ) ;
64+ Navigation . navigate ( ) ;
6665 return ;
6766 }
6867 Session . initAutoAuthState ( autoAuthState ) ;
@@ -82,7 +81,7 @@ function ValidateLoginPage(props) {
8281 }
8382
8483 // The user clicked the option to sign in the current tab
85- Navigation . navigate ( ROUTES . REPORT ) ;
84+ Navigation . navigate ( ) ;
8685 } , [ login , cachedAccountID , is2FARequired ] ) ;
8786
8887 return (
You can’t perform that action at this time.
0 commit comments