@contentful/field-editor-rich-text 2.3.13 → 2.3.16

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.16](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@2.3.15...@contentful/field-editor-rich-text@2.3.16) (2022-08-09)
7
+
8
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
9
+
10
+ ## [2.3.15](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@2.3.14...@contentful/field-editor-rich-text@2.3.15) (2022-08-09)
11
+
12
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
13
+
14
+ ## [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)
15
+
16
+ ### Bug Fixes
17
+
18
+ - **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))
19
+
6
20
  ## [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)
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