mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
change method of redirecting user to join flow page
This commit is contained in:
parent
80ab13d32f
commit
cd5f3b5437
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue