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