Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 007dd6b

Browse files
committed
fix missing usesContext values
1 parent 494faa3 commit 007dd6b

File tree

2 files changed

+2
-2
lines changed
  • assets/js/atomic/blocks/product-elements/price-v2/inner-blocks

2 files changed

+2
-2
lines changed

assets/js/atomic/blocks/product-elements/price-v2/inner-blocks/current-price/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"description": "Display the current price for the product",
77
"category": "woocommerce",
88
"keywords": [ "WooCommerce" ],
9-
"usesContext": ["woocommerce/withSuperScriptStyle"],
9+
"usesContext": ["woocommerce/withSuperScriptStyle", "woocommerce/isDescendantOfSingleProductTemplate"],
1010
"textdomain": "woo-gutenberg-products-block",
1111
"apiVersion": 2,
1212
"$schema": "https://schemas.wp.org/trunk/block.json"

assets/js/atomic/blocks/product-elements/price-v2/inner-blocks/original-price/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"description": "Display the original price for the product",
77
"category": "woocommerce",
88
"keywords": [ "WooCommerce" ],
9-
"usesContext": ["woocommerce/withSuperScriptStyle"],
9+
"usesContext": ["woocommerce/withSuperScriptStyle", "woocommerce/isDescendantOfSingleProductTemplate"],
1010
"textdomain": "woo-gutenberg-products-block",
1111
"apiVersion": 2,
1212
"$schema": "https://schemas.wp.org/trunk/block.json"

0 commit comments

Comments
 (0)