From 48912d76630d5490b983e5e730a7d82d06762148 Mon Sep 17 00:00:00 2001 From: Thomas Zemp Date: Fri, 23 Jun 2023 17:13:22 +0200 Subject: [PATCH] fix: move eslint disable line --- services/plugin/src/Plugin.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/plugin/src/Plugin.tsx b/services/plugin/src/Plugin.tsx index 04934965..53cc25fd 100644 --- a/services/plugin/src/Plugin.tsx +++ b/services/plugin/src/Plugin.tsx @@ -53,9 +53,9 @@ export const Plugin = ({ const [inErrorState, setInErrorState] = useState(false) // since we do not know what props are passed, the dependency array has to be keys of whatever is standard prop - // eslint-disable-next-line react-hooks/exhaustive-deps const memoizedPropsToPass = useMemo( () => propsToPass, + // eslint-disable-next-line react-hooks/exhaustive-deps [...Object.keys(propsToPass)] )