Skip to content

Commit

Permalink
fix: move eslint disable line
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzemp committed Jun 23, 2023
1 parent b1a3a0a commit 48912d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/plugin/src/Plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export const Plugin = ({
const [inErrorState, setInErrorState] = useState<boolean>(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)]
)

Expand Down

0 comments on commit 48912d7

Please sign in to comment.