From 13468013adea88c01a2ec7c31e284df3e6874e25 Mon Sep 17 00:00:00 2001 From: Jeremy Herve Date: Fri, 4 Mar 2022 11:20:24 +0100 Subject: [PATCH] Replace all isPrimary references We use variant instead, since https://github.com/WordPress/gutenberg/pull/31713/ --- projects/plugins/jetpack/extensions/blocks/amazon/edit.js | 2 +- .../plugins/jetpack/extensions/blocks/anchor-fm/editor.js | 2 +- .../jetpack/extensions/blocks/button/button-width-panel.js | 2 +- .../blocks/contact-form/components/jetpack-field-width.js | 2 +- .../plugins/jetpack/extensions/blocks/conversation/edit.js | 2 +- .../jetpack/extensions/blocks/instagram-gallery/edit.js | 2 +- .../jetpack/extensions/blocks/podcast-player/edit.js | 2 +- .../jetpack/extensions/blocks/recurring-payments/edit.jsx | 4 ++-- .../jetpack/extensions/blocks/social-previews/upgrade.js | 2 +- .../extensions/blocks/videopress/resumable-upload/index.js | 2 +- .../shared/external-media/media-browser/index.js | 7 ++++++- .../sources/google-photos/google-photos-auth.js | 2 +- .../extensions/shared/external-media/sources/pexels.js | 2 +- 13 files changed, 19 insertions(+), 14 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/edit.js b/projects/plugins/jetpack/extensions/blocks/amazon/edit.js index 0a8f1ac9f67f2..2e77b988e9c1e 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/amazon/edit.js @@ -222,7 +222,7 @@ function AmazonEdit( { diff --git a/projects/plugins/jetpack/extensions/blocks/button/button-width-panel.js b/projects/plugins/jetpack/extensions/blocks/button/button-width-panel.js index 7fbb96dd5dc9e..f5638dff0a66c 100644 --- a/projects/plugins/jetpack/extensions/blocks/button/button-width-panel.js +++ b/projects/plugins/jetpack/extensions/blocks/button/button-width-panel.js @@ -75,7 +75,7 @@ export function ButtonWidthControl( { align, width, onChange } ) { diff --git a/projects/plugins/jetpack/extensions/blocks/recurring-payments/edit.jsx b/projects/plugins/jetpack/extensions/blocks/recurring-payments/edit.jsx index eb8080c2c3f8a..2bddde23769ed 100644 --- a/projects/plugins/jetpack/extensions/blocks/recurring-payments/edit.jsx +++ b/projects/plugins/jetpack/extensions/blocks/recurring-payments/edit.jsx @@ -212,7 +212,7 @@ export class MembershipsButtonEdit extends Component { if ( this.state.addingMembershipAmount === PRODUCT_NOT_ADDING && ! forceShowForm ) { return ( diff --git a/projects/plugins/jetpack/extensions/shared/external-media/sources/google-photos/google-photos-auth.js b/projects/plugins/jetpack/extensions/shared/external-media/sources/google-photos/google-photos-auth.js index 4b5f57a9542f2..73d982a2cf09c 100644 --- a/projects/plugins/jetpack/extensions/shared/external-media/sources/google-photos/google-photos-auth.js +++ b/projects/plugins/jetpack/extensions/shared/external-media/sources/google-photos/google-photos-auth.js @@ -51,7 +51,7 @@ function GooglePhotosAuth( props ) {
{ isAuthing ? : } -
diff --git a/projects/plugins/jetpack/extensions/shared/external-media/sources/pexels.js b/projects/plugins/jetpack/extensions/shared/external-media/sources/pexels.js index 068fad604caca..4678bf8cf4849 100644 --- a/projects/plugins/jetpack/extensions/shared/external-media/sources/pexels.js +++ b/projects/plugins/jetpack/extensions/shared/external-media/sources/pexels.js @@ -91,7 +91,7 @@ function PexelsMedia( props ) { disabled={ !! isCopying } />