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

Commit

Permalink
removed proptypes from add-to-cart (#9615)
Browse files Browse the repository at this point in the history
Co-authored-by: Niels Lange <info@nielslange.de>
  • Loading branch information
hritikchaudhary and nielslange authored May 29, 2023
1 parent caa1243 commit f105e04
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* External dependencies
*/
import PropTypes from 'prop-types';
import classnames from 'classnames';
import {
AddToCartFormContextProvider,
Expand Down Expand Up @@ -85,8 +84,4 @@ const Block = ( { className, showFormElements }: Props ) => {
);
};

Block.propTypes = {
className: PropTypes.string,
};

export default withProductDataContext( Block );

0 comments on commit f105e04

Please sign in to comment.