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

Commit 36af9c1

Browse files
committed
remove superfluous styles
1 parent 1047cf8 commit 36af9c1

File tree

2 files changed

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

2 files changed

+1
-3
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const Block = ( {
4545
<ProductPrice
4646
className={ wrapperClassName }
4747
style={ style }
48-
priceStyle={ style }
4948
priceClassName={ priceClassName }
5049
currency={ currency }
5150
withSuperScript={ context[ 'woocommerce/withSuperScriptStyle' ] }

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const Block = ( {
3636
return <ProductPrice className={ wrapperClassName } />;
3737
}
3838

39-
const pricePreview = '5000';
39+
const pricePreview = '3000';
4040
const priceClassName = classnames( {
4141
[ `${ parentClassName }__product-${ priceType }-price__value` ]:
4242
parentClassName,
@@ -46,7 +46,6 @@ const Block = ( {
4646
<ProductPrice
4747
className={ wrapperClassName }
4848
style={ style }
49-
priceStyle={ style }
5049
priceClassName={ priceClassName }
5150
currency={ currency }
5251
withSuperScript={ context[ 'woocommerce/withSuperScriptStyle' ] }

0 commit comments

Comments
 (0)