always push state
This commit is contained in:
parent
4bc81d9cce
commit
5aae745c04
@ -85,7 +85,7 @@ const GalleryPage = ({ data }: PageProps<Queries.GalleryPageQueryQuery>) => {
|
|||||||
// do nothing
|
// do nothing
|
||||||
}
|
}
|
||||||
_setSortKey(newSortKey);
|
_setSortKey(newSortKey);
|
||||||
window.history.replaceState(
|
window.history.pushState(
|
||||||
null,
|
null,
|
||||||
"",
|
"",
|
||||||
getGalleryPageUrl({ sortKey: newSortKey, keyword: filterKeyword }, hash)
|
getGalleryPageUrl({ sortKey: newSortKey, keyword: filterKeyword }, hash)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user