We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ba386 commit cac3c78Copy full SHA for cac3c78
web/src/redux/actions/settings.ts
@@ -24,5 +24,6 @@ export const changeLanguage = (languageCode: Language["code"]) => {
24
newPath = newPath.replace(new RegExp(`^/${language.code}`), "");
25
}
26
27
- window.location.replace(newPath);
+ window.history.pushState({}, "", newPath);
28
+ window.location.href = newPath;
29
};
0 commit comments