Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

ignore eslint warning

Blue Mousee70d1f4a5b29
diff --git a/web/app/modals/AnnotationModal.tsx b/web/app/modals/AnnotationModal.tsx
index 1ea2035b1..7bab7e10b 100644
--- a/web/app/modals/AnnotationModal.tsx
+++ b/web/app/modals/AnnotationModal.tsx
@@ -44,6 +44,7 @@ const AnnotationModal = ({
const [text, setText] = useState(initialText)
useEffect(() => {
+ // eslint-disable-next-line react-hooks/set-state-in-effect -- Syncing initial state with UI
setDate(initialDate)
setText(initialText)
}, [initialDate, initialText])