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

Commit f105e04

Browse files
removed proptypes from add-to-cart (#9615)
Co-authored-by: Niels Lange <[email protected]>
1 parent caa1243 commit f105e04

File tree

1 file changed

+0
-5
lines changed
  • assets/js/atomic/blocks/product-elements/add-to-cart

1 file changed

+0
-5
lines changed

assets/js/atomic/blocks/product-elements/add-to-cart/block.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* External dependencies
33
*/
4-
import PropTypes from 'prop-types';
54
import classnames from 'classnames';
65
import {
76
AddToCartFormContextProvider,
@@ -85,8 +84,4 @@ const Block = ( { className, showFormElements }: Props ) => {
8584
);
8685
};
8786

88-
Block.propTypes = {
89-
className: PropTypes.string,
90-
};
91-
9287
export default withProductDataContext( Block );

0 commit comments

Comments
 (0)