@contentful/field-editor-rich-text 2.3.13 → 2.3.14
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/CHANGELOG.md +6 -0
- package/dist/field-editor-rich-text.cjs.development.js +1 -1
- package/dist/field-editor-rich-text.cjs.development.js.map +1 -1
- package/dist/field-editor-rich-text.cjs.production.min.js +1 -1
- package/dist/field-editor-rich-text.cjs.production.min.js.map +1 -1
- package/dist/field-editor-rich-text.esm.js +1 -1
- package/dist/field-editor-rich-text.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -2155,7 +2155,7 @@ function useFetchedEntity(_ref) {
|
|
|
2155
2155
|
|
|
2156
2156
|
var store = type === 'Entry' ? entries : assets;
|
|
2157
2157
|
|
|
2158
|
-
var _useState = useState(store[id]),
|
|
2158
|
+
var _useState = useState(store == null ? void 0 : store[id]),
|
|
2159
2159
|
entity = _useState[0],
|
|
2160
2160
|
setEntity = _useState[1]; // Deep compare the entity value to keep re-rendering to minimal
|
|
2161
2161
|
|