We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1495062 commit 1294404Copy full SHA for 1294404
src/app/components/MapSearch/index.tsx
@@ -478,14 +478,6 @@ export const MapPopup: React.FunctionComponent<MapPopupProps> = props => {
478
setOTsIndex(tsIndex);
479
const index = dt - getBaseYear();
480
setTsIndex(index);
481
-
482
- let url = new URL(window.location.href);
483
- if (url.searchParams.has('year')) {
484
- url.searchParams.set('year', dt.toString());
485
- } else {
486
- url.searchParams.append('year', dt.toString());
487
- }
488
- window.history.pushState(null, '', url.toString());
489
});
490
}, []);
491
0 commit comments