This commit is contained in:
@@ -18,7 +18,6 @@ export default () => {
|
||||
<div
|
||||
use:observer={(event) => {
|
||||
if (event.isIntersecting) {
|
||||
console.log(chapterName);
|
||||
if (!state.scrolling()) {
|
||||
setters.setVisibleChapter(chapterName);
|
||||
} else if (state.visibleChapter() === chapterName) {
|
||||
|
||||
Reference in New Issue
Block a user