Skip to content

Commit dba4d8c

Browse files
committed
fix work email not persisting on block screen
1 parent adb1216 commit dba4d8c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/OnboardingMergingAccountBlockedView.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import {ToddBehindCloud} from './Icon/Illustrations';
1212
type OnboardingMergingAccountBlockedViewProps = {
1313
// Work email to display in the subtitle
1414
workEmail: string | undefined;
15+
16+
// Whether the user is a VSB
1517
isVsb: boolean | undefined;
1618
};
1719

src/libs/actions/Session/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,6 @@ function AddWorkEmail(workEmail: string) {
12751275
onyxMethod: Onyx.METHOD.MERGE,
12761276
key: ONYXKEYS.FORMS.ONBOARDING_WORK_EMAIL_FORM,
12771277
value: {
1278-
onboardingWorkEmail: workEmail,
12791278
isLoading: false,
12801279
},
12811280
},
@@ -1286,7 +1285,6 @@ function AddWorkEmail(workEmail: string) {
12861285
onyxMethod: Onyx.METHOD.MERGE,
12871286
key: ONYXKEYS.FORMS.ONBOARDING_WORK_EMAIL_FORM,
12881287
value: {
1289-
onboardingWorkEmail: null,
12901288
isLoading: false,
12911289
},
12921290
},

0 commit comments

Comments
 (0)