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)] )