Skip to content

Commit

Permalink
fix: remove unexpected useMemo dep
Browse files Browse the repository at this point in the history
  • Loading branch information
yf-yang committed Jul 11, 2024
1 parent 5f85b08 commit 7d36a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/client/components/Plate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function PlateInner<
plugins: pluginsProp as any,
}),
// eslint-disable-next-line react-hooks/exhaustive-deps
[editorProp]
[]
);

const value = React.useMemo(
Expand Down

0 comments on commit 7d36a04

Please sign in to comment.