Skip to content

Commit

Permalink
Merge branch 'main' into fix/39306
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Apr 1, 2024
2 parents e102563 + b282693 commit 2d40a29
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 2d40a29

Please sign in to comment.