@prosekit/react 0.3.22 → 0.3.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,11 +18,10 @@ import {
18
18
  } from "@prosemirror-adapter/react";
19
19
  import { createElement, useMemo as useMemo2 } from "react";
20
20
 
21
- // src/hooks/use-extension.ts
22
- import "@prosekit/core";
23
-
24
21
  // src/hooks/use-editor-extension.ts
25
- import { EditorNotFoundError } from "@prosekit/core";
22
+ import {
23
+ EditorNotFoundError
24
+ } from "@prosekit/core";
26
25
  import { useEffect } from "react";
27
26
  function useEditorExtension(editor, extension) {
28
27
  if (!editor) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/react",
3
3
  "type": "module",
4
- "version": "0.3.22",
4
+ "version": "0.3.24",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -67,9 +67,9 @@
67
67
  "dependencies": {
68
68
  "@prosemirror-adapter/react": "^0.2.6",
69
69
  "react-merge-refs": "^2.1.1",
70
- "@prosekit/core": "^0.7.8",
71
- "@prosekit/pm": "^0.1.8",
72
- "@prosekit/web": "^0.3.10"
70
+ "@prosekit/core": "^0.7.9",
71
+ "@prosekit/web": "^0.3.12",
72
+ "@prosekit/pm": "^0.1.8"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": ">= 18.2.0",