From 74d5bde275b1eac66fcd25e488d74b605f022370 Mon Sep 17 00:00:00 2001 From: Tung Du Date: Wed, 2 Nov 2022 15:48:54 +0700 Subject: [PATCH] Fix: add missing export for Product Sale Badge (https://github.com/woocommerce/woocommerce-blocks/pull/7564) --- .../js/atomic/blocks/product-elements/sale-badge/block.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/sale-badge/block.tsx b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/sale-badge/block.tsx index 16c77ea5c83..1899cf04dc5 100644 --- a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/sale-badge/block.tsx +++ b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/sale-badge/block.tsx @@ -25,7 +25,7 @@ import type { BlockAttributes } from './types'; type Props = BlockAttributes & HTMLAttributes< HTMLDivElement >; -const Block = ( props: Props ): JSX.Element | null => { +export const Block = ( props: Props ): JSX.Element | null => { const { className, align } = props; const { parentClassName } = useInnerBlockLayoutContext(); const { product } = useProductDataContext();