File tree Expand file tree Collapse file tree
src/pages/settings/Troubleshoot Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import useLocalize from '@hooks/useLocalize';
2323import useOnyx from '@hooks/useOnyx' ;
2424import useResponsiveLayout from '@hooks/useResponsiveLayout' ;
2525import useThemeStyles from '@hooks/useThemeStyles' ;
26- import { resetExitSurveyForm } from '@libs/actions/ExitSurvey' ;
26+ import { resetExitSurveyForm , switchToOldDot } from '@libs/actions/ExitSurvey' ;
2727import { closeReactNativeApp } from '@libs/actions/HybridApp' ;
2828import { openOldDotLink } from '@libs/actions/Link' ;
2929import { setShouldMaskOnyxState } from '@libs/actions/MaskOnyx' ;
@@ -113,6 +113,7 @@ function TroubleshootPage() {
113113 : {
114114 action ( ) {
115115 if ( surveyCompletedWithinLastMonth ) {
116+ switchToOldDot ( '' ) ;
116117 openOldDotLink ( CONST . OLDDOT_URLS . INBOX , true ) ;
117118 return ;
118119 }
You can’t perform that action at this time.
0 commit comments