From f5229ca838706485f0e6e1257bcfc4e6415cce20 Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Mon, 6 Jul 2020 21:31:08 -0400 Subject: [PATCH] linter error --- src/hooks/useInterval.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useInterval.ts b/src/hooks/useInterval.ts index 0a87f86de7..e60d7ca9d0 100644 --- a/src/hooks/useInterval.ts +++ b/src/hooks/useInterval.ts @@ -21,5 +21,5 @@ export default function useInterval(callback: () => void, delay: null | number, return () => clearInterval(id) } return - }, [delay]) + }, [delay, leading]) }