Skip to content

Commit 63f7ff2

Browse files
authored
Merge pull request #1132 from isaacphysics/bugfix/clean-up-registration-default-context
Stop setting viewing context defaults on registration as not saved in DB
2 parents 8b05e2f + 543fe6b commit 63f7ff2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/components/pages/RegistrationSetDetails.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ export const RegistrationSetDetails = ({role}: RegistrationSetDetailsProps) => {
100100
setAttemptedSignUp(true);
101101
Object.assign(registrationUser, {loggedIn: false});
102102
dispatch(errorSlice.actions.clearError());
103-
dispatch(registerNewUser(registrationUser, {EMAIL_PREFERENCE: EMAIL_PREFERENCE_DEFAULTS},
104-
[{stage: STAGE.ALL, examBoard: EXAM_BOARD.ADA}], null));
103+
dispatch(registerNewUser(registrationUser, {EMAIL_PREFERENCE: EMAIL_PREFERENCE_DEFAULTS}, undefined, null));
105104
trackEvent("registration", {
106105
props:
107106
{

0 commit comments

Comments
 (0)