Skip to content

Commit

Permalink
Try to fix mobile unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Jan 21, 2023
1 parent 94dbf53 commit 10cf94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/gallery/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ function GalleryEdit( props ) {
<Gallery
{ ...props }
showCaption={ showCaption }
ref={ captionRef }
ref={ Platform.isWeb ? captionRef : undefined }
images={ images }
mediaPlaceholder={
! hasImages || Platform.isNative
Expand Down

0 comments on commit 10cf94d

Please sign in to comment.