Fix: add missing export for Product Sale Badge (https://github.com/woocommerce/woocommerce-blocks/pull/7564)

This commit is contained in:
Tung Du 2022-11-02 15:48:54 +07:00 committed by GitHub
parent c0ee82c2dd
commit 74d5bde275
1 changed files with 1 additions and 1 deletions

View File

@ -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();