diff --git a/src/components/MangaGrid.tsx b/src/components/MangaGrid.tsx index d43acb8d..cce67042 100644 --- a/src/components/MangaGrid.tsx +++ b/src/components/MangaGrid.tsx @@ -165,7 +165,7 @@ const VerticalGrid = forwardRef( return; } - AppStorage.session.setItem(snapshotSessionKey, gridState); + AppStorage.session.setItem(snapshotSessionKey, gridState, false); }, 250); }; useEffect(() => clearTimeout(persistGridStateTimeout.current), [location.key, persistGridStateTimeout.current]); diff --git a/src/screens/SourceMangas.tsx b/src/screens/SourceMangas.tsx index e83c8c13..9c226bb4 100644 --- a/src/screens/SourceMangas.tsx +++ b/src/screens/SourceMangas.tsx @@ -269,7 +269,7 @@ export function SourceMangas() { ); const scrollToTop = useCallback(() => { - AppStorage.session.setItem(getGridSnapshotKey(location), undefined); + AppStorage.session.setItem(getGridSnapshotKey(location), undefined, false); window.scrollTo(0, 0); }, [locationKey]);