Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: lazy rendering checks (#2130)

boojack9f8a0a8dd367
diff --git a/web/src/components/Memo.tsx b/web/src/components/Memo.tsx
index c5d2fbc64..fe85f0cb3 100644
--- a/web/src/components/Memo.tsx
+++ b/web/src/components/Memo.tsx
@@ -101,7 +101,7 @@ const Memo: React.FC<Props> = (props: Props) => {
}
root.addEventListener("scroll", checkShouldRender);
}
- }, [lazyRendering]);
+ }, [lazyRendering, filterStore.state]);
if (!shouldRender) {
// Render a placeholder to occupy the space.