Skip to content

Commit f06b06e

Browse files
committed
Revert "Update to be consistent with how we parse the params"
This reverts commit 29211b1.
1 parent 29211b1 commit f06b06e

File tree

1 file changed

+1
-2
lines changed
  • src/shared/components/TopcoderFooter

1 file changed

+1
-2
lines changed

src/shared/components/TopcoderFooter/index.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ export default function TopcoderFooter() {
88
const footerRef = useRef();
99
const footerInitialized = useRef(false);
1010
const [footerId, setFooterId] = useState(0);
11-
const url = new URL(window.location.href);
12-
const urlParams = new URLSearchParams(url.search);
11+
const urlParams = new URLSearchParams(window.location.href);
1312

1413
useEffect(() => {
1514
uniqueId += 1;

0 commit comments

Comments
 (0)