@contentful/field-editor-rich-text 2.3.11 → 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 CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.3.14](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@2.3.13...@contentful/field-editor-rich-text@2.3.14) (2022-08-08)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **rich-text:** handle accessing undefined store value [TOL-339] ([#1208](https://github.com/contentful/field-editors/issues/1208)) ([c536e72](https://github.com/contentful/field-editors/commit/c536e72a0d997eb83017a23acfecefbeeb090d3e))
11
+
12
+ ## [2.3.13](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@2.3.12...@contentful/field-editor-rich-text@2.3.13) (2022-07-29)
13
+
14
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
15
+
16
+ ## [2.3.12](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@2.3.11...@contentful/field-editor-rich-text@2.3.12) (2022-07-29)
17
+
18
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
19
+
6
20
  ## [2.3.11](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@2.3.10...@contentful/field-editor-rich-text@2.3.11) (2022-07-22)
7
21
 
8
22
  **Note:** Version bump only for package @contentful/field-editor-rich-text
@@ -2162,7 +2162,7 @@ function useFetchedEntity(_ref) {
2162
2162
 
2163
2163
  var store = type === 'Entry' ? entries : assets;
2164
2164
 
2165
- var _useState = React.useState(store[id]),
2165
+ var _useState = React.useState(store == null ? void 0 : store[id]),
2166
2166
  entity = _useState[0],
2167
2167
  setEntity = _useState[1]; // Deep compare the entity value to keep re-rendering to minimal
2168
2168