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 f543a9b commit 29211b1Copy full SHA for 29211b1
src/shared/components/TopcoderFooter/index.jsx
@@ -8,7 +8,8 @@ export default function TopcoderFooter() {
8
const footerRef = useRef();
9
const footerInitialized = useRef(false);
10
const [footerId, setFooterId] = useState(0);
11
- const urlParams = new URLSearchParams(window.location.href);
+ const url = new URL(window.location.href);
12
+ const urlParams = new URLSearchParams(url.search);
13
14
useEffect(() => {
15
uniqueId += 1;
0 commit comments