@contentful/field-editor-reference 4.6.8 → 4.6.9

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.
@@ -3615,6 +3615,10 @@ function FetchingWrappedAssetCard(props) {
3615
3615
  assets = _useEntities.assets;
3616
3616
 
3617
3617
  useEffect(function () {
3618
+ if (!props.assetId) {
3619
+ return;
3620
+ }
3621
+
3618
3622
  getAsset(props.assetId); // eslint-disable-next-line react-hooks/exhaustive-deps -- TODO: Evaluate the dependencies
3619
3623
  }, [props.assetId]);
3620
3624
  var asset = assets[props.assetId];