Skip to content

Commit 0582c2c

Browse files
committed
fix typo
1 parent fdc8a56 commit 0582c2c

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)