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.
2 parents c3fd3a4 + cdd9d8b commit f543a9bCopy full SHA for f543a9b
src/shared/containers/TopcoderHeader.jsx
@@ -36,11 +36,12 @@ const TopcoderHeader = ({ auth }) => {
36
37
const regSource = window.location.pathname.split('/')[1];
38
const retUrl = encodeURIComponent(window.location.href);
39
- const urlParams = new URLSearchParams(window.location.href);
40
41
let { type } = getSubPageConfiguration();
42
43
// If url contains navTool url parameter. Overwrite settings with parameter.
+ const url = new URL(window.location.href);
44
+ const urlParams = new URLSearchParams(url.search);
45
if (urlParams.get('navTool')) {
46
type = urlParams.get('navTool');
47
}
0 commit comments