Update reset scroll position flag after doing the reset (#380)

Should have been added with 3ad33b0a15
This commit is contained in:
schroda
2023-06-20 00:59:19 +02:00
committed by GitHub
parent 79b5e696b6
commit f5a8c8d35c

View File

@@ -296,6 +296,7 @@ export default function SourceMangas() {
} }
window.scrollTo(0, 0); window.scrollTo(0, 0);
setResetScrollPosition(false);
}, [resetScrollPosition]); }, [resetScrollPosition]);
return ( return (