Skip to content

Commit

Permalink
fix(react): get rid of unnecessary wrap around deps
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Apr 5, 2024
1 parent bb3ba10 commit 331fe61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/useEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const useEditor = (options: Partial<EditorOptions> = {}, deps: Dependency
return () => {
isMounted = false
}
}, [deps])
}, deps)

useEffect(() => {
return () => {
Expand Down

0 comments on commit 331fe61

Please sign in to comment.