diff --git a/src/pages/photogallery.tsx b/src/pages/photogallery.tsx index d895799..4806e0a 100644 --- a/src/pages/photogallery.tsx +++ b/src/pages/photogallery.tsx @@ -85,7 +85,7 @@ const GalleryPage = ({ data }: PageProps) => { // do nothing } _setSortKey(newSortKey); - window.history.replaceState( + window.history.pushState( null, "", getGalleryPageUrl({ sortKey: newSortKey, keyword: filterKeyword }, hash)