@vonaffenfels/contentful-slate-editor 1.0.30 → 1.0.31

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonaffenfels/contentful-slate-editor",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "scripts": {
5
5
  "prepublish": "yarn run build",
6
6
  "dev": "yarn run start",
@@ -89,10 +89,10 @@
89
89
  "webpack-dev-server": "^4.0.0-beta.2"
90
90
  },
91
91
  "dependencies": {
92
- "@vonaffenfels/slate-editor": "^1.0.30",
92
+ "@vonaffenfels/slate-editor": "^1.0.31",
93
93
  "webpack": "5.88.2"
94
94
  },
95
- "gitHead": "fe88a0b3ce82331fa3d7193a4cd62b8e2c8ecfb9",
95
+ "gitHead": "007715e3b949cf0368e7b4d70626d2931c7b7829",
96
96
  "publishConfig": {
97
97
  "access": "public"
98
98
  }
@@ -12,7 +12,6 @@ import storybookStories from "storybookStories";
12
12
  import componentLoader from "@vonaffenfels/slate-editor/componentLoader";
13
13
 
14
14
  let isLoadingCountGlobal = 0;
15
- let controller = new AbortController();
16
15
 
17
16
  const EditorField = ({
18
17
  fieldSdk,
@@ -107,10 +106,6 @@ const EditorField = ({
107
106
  let loaderResult = {};
108
107
  setIsLoadingCount(++isLoadingCountGlobal);
109
108
 
110
- controller.abort();
111
-
112
- controller = new AbortController();
113
-
114
109
  try {
115
110
  const fetchUrl = `/api/loader/?${new URLSearchParams({
116
111
  portal: portal,
@@ -121,7 +116,8 @@ const EditorField = ({
121
116
  items: null,
122
117
  }),
123
118
  })}`;
124
- loaderResult = await fetch(fetchUrl, {signal: controller.signal}).then(res => res.json());
119
+
120
+ loaderResult = await fetch(fetchUrl).then(res => res.json());
125
121
 
126
122
  if (loaderResult) {
127
123
  for (let key in loaderResult) {