Skip to content

Commit

Permalink
RNMobile: Fix edge case where VideoPress v5 could mistakenly appears …
Browse files Browse the repository at this point in the history
…empty (#35957)
  • Loading branch information
Siobhan Bamber authored Feb 27, 2024
1 parent 7194ccb commit 9123233
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

RNMobile: Fix edge case where block could sometimes mistakenly appear empty.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ class VideoPressEdit extends Component {
></MediaUpload>
);

const isSourcePresent = src || ( guid && id );
const isSourcePresent = src || guid;
if ( ! isSourcePresent ) {
return (
<View style={ style.container }>
Expand Down

0 comments on commit 9123233

Please sign in to comment.