Update reset scroll position flag after doing the reset (#380)
Should have been added with 3ad33b0a15
This commit is contained in:
@@ -296,6 +296,7 @@ export default function SourceMangas() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
window.scrollTo(0, 0);
|
window.scrollTo(0, 0);
|
||||||
|
setResetScrollPosition(false);
|
||||||
}, [resetScrollPosition]);
|
}, [resetScrollPosition]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user