diff --git a/plugins/woocommerce-blocks/assets/js/data/checkout/index.ts b/plugins/woocommerce-blocks/assets/js/data/checkout/index.ts index 237664d645b..cd26412a047 100644 --- a/plugins/woocommerce-blocks/assets/js/data/checkout/index.ts +++ b/plugins/woocommerce-blocks/assets/js/data/checkout/index.ts @@ -16,10 +16,6 @@ export const config = { reducer, selectors, actions, - // TODO: Gutenberg with Thunks was released in WP 6.0. Once 6.1 is released, remove the experimental flag here - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore We pass this in case there is an older version of Gutenberg running. - __experimentalUseThunks: true, }; const store = createReduxStore( STORE_KEY, config ); diff --git a/plugins/woocommerce-blocks/assets/js/data/payment/index.ts b/plugins/woocommerce-blocks/assets/js/data/payment/index.ts index 95b67462982..9d7820d15b4 100644 --- a/plugins/woocommerce-blocks/assets/js/data/payment/index.ts +++ b/plugins/woocommerce-blocks/assets/js/data/payment/index.ts @@ -20,10 +20,6 @@ export const config = { actions, // eslint-disable-next-line @typescript-eslint/no-explicit-any controls: { ...dataControls, ...sharedControls } as any, - // TODO: Gutenberg with Thunks was released in WP 6.0. Once 6.1 is released, remove the experimental flag here - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore We pass this in case there is an older version of Gutenberg running. - __experimentalUseThunks: true, }; const store = createReduxStore( STORE_KEY, config ); diff --git a/plugins/woocommerce-blocks/assets/js/data/validation/index.ts b/plugins/woocommerce-blocks/assets/js/data/validation/index.ts index 8241a611614..2355c045438 100644 --- a/plugins/woocommerce-blocks/assets/js/data/validation/index.ts +++ b/plugins/woocommerce-blocks/assets/js/data/validation/index.ts @@ -16,10 +16,6 @@ export const config = { reducer, selectors, actions, - // TODO: Gutenberg with Thunks was released in WP 6.0. Once 6.1 is released, remove the experimental flag here - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore We pass this in case there is an older version of Gutenberg running. - __experimentalUseThunks: true, }; const store = createReduxStore( STORE_KEY, config ); diff --git a/plugins/woocommerce-blocks/assets/js/types/type-defs/product-response.ts b/plugins/woocommerce-blocks/assets/js/types/type-defs/product-response.ts index 8c1d037bde5..c12ae4b1a2f 100644 --- a/plugins/woocommerce-blocks/assets/js/types/type-defs/product-response.ts +++ b/plugins/woocommerce-blocks/assets/js/types/type-defs/product-response.ts @@ -20,6 +20,7 @@ export interface ProductResponseItemBaseData { value: string; display?: string; hidden?: boolean; + className?: string; } export type ProductResponseItemData = ProductResponseItemBaseData & diff --git a/plugins/woocommerce-blocks/checkstyle.xml b/plugins/woocommerce-blocks/checkstyle.xml index 0d6eeb08414..f0b7e3e8e86 100644 --- a/plugins/woocommerce-blocks/checkstyle.xml +++ b/plugins/woocommerce-blocks/checkstyle.xml @@ -647,7 +647,7 @@ - -