diff --git a/projects/plugins/jetpack/changelog/rnmobile-fix-empty-videopress-v5-block-when-no-id b/projects/plugins/jetpack/changelog/rnmobile-fix-empty-videopress-v5-block-when-no-id new file mode 100644 index 0000000000000..b845c832cd2b4 --- /dev/null +++ b/projects/plugins/jetpack/changelog/rnmobile-fix-empty-videopress-v5-block-when-no-id @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +RNMobile: Fix edge case where block could sometimes mistakenly appear empty. diff --git a/projects/plugins/jetpack/extensions/blocks/videopress/edit.native.js b/projects/plugins/jetpack/extensions/blocks/videopress/edit.native.js index e81a5d0df351b..036ed913c6756 100644 --- a/projects/plugins/jetpack/extensions/blocks/videopress/edit.native.js +++ b/projects/plugins/jetpack/extensions/blocks/videopress/edit.native.js @@ -295,7 +295,7 @@ class VideoPressEdit extends Component { > ); - const isSourcePresent = src || ( guid && id ); + const isSourcePresent = src || guid; if ( ! isSourcePresent ) { return (