Skip to content

Commit 1294404

Browse files
committed
up
1 parent 1495062 commit 1294404

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/app/components/MapSearch/index.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -478,14 +478,6 @@ export const MapPopup: React.FunctionComponent<MapPopupProps> = props => {
478478
setOTsIndex(tsIndex);
479479
const index = dt - getBaseYear();
480480
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());
489481
});
490482
}, []);
491483

0 commit comments

Comments
 (0)