From f105e0497fd41679e48efc585f7e16506b0e3180 Mon Sep 17 00:00:00 2001 From: Hritik Chaudhary <33057454+hritikchaudhary@users.noreply.github.com> Date: Mon, 29 May 2023 09:43:25 +0530 Subject: [PATCH] removed proptypes from add-to-cart (#9615) Co-authored-by: Niels Lange --- .../js/atomic/blocks/product-elements/add-to-cart/block.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/assets/js/atomic/blocks/product-elements/add-to-cart/block.tsx b/assets/js/atomic/blocks/product-elements/add-to-cart/block.tsx index 39f7dcf9e47..19dd85dde07 100644 --- a/assets/js/atomic/blocks/product-elements/add-to-cart/block.tsx +++ b/assets/js/atomic/blocks/product-elements/add-to-cart/block.tsx @@ -1,7 +1,6 @@ /** * External dependencies */ -import PropTypes from 'prop-types'; import classnames from 'classnames'; import { AddToCartFormContextProvider, @@ -85,8 +84,4 @@ const Block = ( { className, showFormElements }: Props ) => { ); }; -Block.propTypes = { - className: PropTypes.string, -}; - export default withProductDataContext( Block );