change method of redirecting user to join flow page

This commit is contained in:
Ben Wheeler 2019-10-18 11:53:31 -04:00
parent 80ab13d32f
commit cd5f3b5437

View file

@ -52,7 +52,7 @@ module.exports.navigationReducer = (state, action) => {
return defaults({registrationOpen: action.isOpen}, state); return defaults({registrationOpen: action.isOpen}, state);
case Types.HANDLE_REGISTRATION_REQUESTED: case Types.HANDLE_REGISTRATION_REQUESTED:
if (state.useScratch3Registration) { if (state.useScratch3Registration) {
window.location = '/join'; window.location.assign('/join');
return state; return state;
} }
return defaults({registrationOpen: true}, state); return defaults({registrationOpen: true}, state);