@contentful/field-editor-reference 4.3.6 → 4.3.7

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,12 @@
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
+ ## [4.3.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.3.6...@contentful/field-editor-reference@4.3.7) (2022-06-07)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **reference:** avoid infinite getEntityScheduledActions calls ([#1159](https://github.com/contentful/field-editors/issues/1159)) ([620111b](https://github.com/contentful/field-editors/commit/620111bdca45a083369bdb42be8e93a16b670937))
11
+
6
12
  ## [4.3.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.3.5...@contentful/field-editor-reference@4.3.6) (2022-05-24)
7
13
 
8
14
  ### Bug Fixes
@@ -1799,8 +1799,10 @@ var ScheduledIconWithTooltip = function ScheduledIconWithTooltip(_ref) {
1799
1799
  type: 'error',
1800
1800
  error: e
1801
1801
  });
1802
- });
1803
- }, [getEntityScheduledActions, entityType, entityId]);
1802
+ }); // This should only be ever called once. Following the eslint hint to add used
1803
+ // dependencies will cause page freeze (infinite loop)
1804
+ // eslint-disable-next-line
1805
+ }, []);
1804
1806
 
1805
1807
  if (status.type === 'loading' || status.type === 'error') {
1806
1808
  return null;