Skip to content

Commit cdd9d8b

Browse files
authored
Merge pull request #6790 from nursoltan-s/issue-6788
fix typo
2 parents b79034c + 0582c2c commit cdd9d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/containers/TopcoderHeader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const TopcoderHeader = ({ auth }) => {
4141

4242
// If url contains navTool url parameter. Overwrite settings with parameter.
4343
const url = new URL(window.location.href);
44-
const urlParams = new URLSearchParams(url);
44+
const urlParams = new URLSearchParams(url.search);
4545
if (urlParams.get('navTool')) {
4646
type = urlParams.get('navTool');
4747
}

0 commit comments

Comments
 (0)