Skip to content

Commit

Permalink
Merge pull request Expensify#39232 from nkdengineer/fix/39184
Browse files Browse the repository at this point in the history
Fix exit survey page displays blank
  • Loading branch information
robertjchen authored Mar 31, 2024
2 parents 14ff944 + c2cbb53 commit b282693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/settings/ExitSurvey/ExitSurveyConfirmPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import EXIT_SURVEY_REASON_INPUT_IDS from '@src/types/form/ExitSurveyReasonForm';
import ExitSurveyOffline from './ExitSurveyOffline';

type ExitSurveyConfirmPageOnyxProps = {
exitReason?: ExitReason;
exitReason?: ExitReason | null;
isLoading: OnyxEntry<boolean>;
};

Expand Down Expand Up @@ -106,7 +106,7 @@ ExitSurveyConfirmPage.displayName = 'ExitSurveyConfirmPage';
export default withOnyx<ExitSurveyConfirmPageProps, ExitSurveyConfirmPageOnyxProps>({
exitReason: {
key: ONYXKEYS.FORMS.EXIT_SURVEY_REASON_FORM,
selector: (value: OnyxEntry<ExitSurveyReasonForm>) => value?.[EXIT_SURVEY_REASON_INPUT_IDS.REASON],
selector: (value: OnyxEntry<ExitSurveyReasonForm>) => value?.[EXIT_SURVEY_REASON_INPUT_IDS.REASON] ?? null,
},
isLoading: {
key: ONYXKEYS.IS_SWITCHING_TO_OLD_DOT,
Expand Down

0 comments on commit b282693

Please sign in to comment.