From 0b7d7bbe7fe4071d8e65fee444a85c8b28645154 Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Sat, 14 Feb 2026 16:58:03 -0500 Subject: [PATCH] fix: update dependency array in AppContent useEffect to when to show there is update https://github.com/donetick/donetick/issues/521 --- src/App.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index 3fb77d6..8d207be 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -78,7 +78,8 @@ const AppContent = () => { }, }) } - }, [needRefresh, showNotification, updateServiceWorker, setNeedRefresh]) + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [needRefresh]) return (