Skip to content

Commit

Permalink
fix: add useSyncExternalStore shim for older React versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nperez0111 committed Jul 6, 2024
1 parent 607e939 commit 204e7c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/react/src/useEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ function useEditor<TSelectorResult>(options: UseEditorOptions<TSelectorResult> =
}
}, deps)

useDebugValue(editor)

const {
onBeforeCreate,
onBlur,
Expand Down

0 comments on commit 204e7c5

Please sign in to comment.