From ae800e78ad1db0a79d94c6f87eacb3bb0d9fd65e Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Mon, 8 Dec 2025 03:26:19 -0700 Subject: [PATCH] chore: Issue #947 fix eslint in useLocalStorage --- src/useLocalStorage.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/useLocalStorage.ts b/src/useLocalStorage.ts index def6ad804a..494d02a9a7 100644 --- a/src/useLocalStorage.ts +++ b/src/useLocalStorage.ts @@ -79,6 +79,7 @@ const useLocalStorage = ( // localStorage can throw. Also JSON.stringify can throw. } }, + // eslint-disable-next-line react-hooks/exhaustive-deps [key, setState] );