Skip to content

Commit

Permalink
add proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbos committed Oct 9, 2018
1 parent 4c19822 commit 4205442
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions finished-application/frontend/components/CartCount.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ const CartCount = ({ count }) => (
</AnimationStyles>
);

CartCount.propTypes = {
count: PropTypes.number.isRequired,
};
export default CartCount;

0 comments on commit 4205442

Please sign in to comment.