diff --git a/assets/js/blocks/products/all-products/frontend.js b/assets/js/blocks/products/all-products/frontend.js index cbef10d72cb..016c95d2fac 100644 --- a/assets/js/blocks/products/all-products/frontend.js +++ b/assets/js/blocks/products/all-products/frontend.js @@ -2,7 +2,6 @@ * External dependencies */ import { StoreNoticesProvider } from '@woocommerce/base-context'; -import { renderFrontend } from '@woocommerce/base-utils'; /** * Internal dependencies @@ -15,22 +14,12 @@ import { registerBlockType } from '../../../base/utils/bhe-frontend'; * * @param {*} props */ -// const AllProductsFrontend = ( props ) => { -// return ( -// -// -// -// ); -// }; +const AllProductsFrontend = ( props ) => { + return ( + + + + ); +}; -// const getProps = ( el ) => ( { -// attributes: JSON.parse( el.dataset.attributes ), -// } ); - -// renderFrontend( { -// selector: '.wp-block-woocommerce-all-products', -// Block: AllProductsFrontend, -// getProps, -// } ); - -registerBlockType( 'woocommerce/all-products', Block ); +registerBlockType( 'woocommerce/all-products', AllProductsFrontend );