diff --git a/src/routes/Intro/Intro.js b/src/routes/Intro/Intro.js index 0b4eee6aa..bd00249f0 100644 --- a/src/routes/Intro/Intro.js +++ b/src/routes/Intro/Intro.js @@ -248,7 +248,7 @@ const Intro = ({ queryParams }) => { const switchFormOnClick = React.useCallback(() => { const nextQueryParams = new URLSearchParams(queryParams); nextQueryParams.set('form', state.form === SIGNUP_FORM ? LOGIN_FORM : SIGNUP_FORM); - window.location.replace(`#/intro?${nextQueryParams}`); + window.location = `#/intro?${nextQueryParams}`; }, [queryParams, state.form]); React.useEffect(() => { if ([LOGIN_FORM, SIGNUP_FORM].includes(queryParams.get('form'))) {