Skip to content

Commit

Permalink
unchanged, there is a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
HMP1993 committed Jan 8, 2023
1 parent f3a4e5d commit ea0e8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout/HeaderCartButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const HeaderCartButton = (props) => {
const cartCtx = useContext(CartContext);
const numberOfCartItems =cartCtx.items.reduce((currtNum, item)=>{
return currtNum + item.amount
},0)
},0);
return (
<button className={classes.button} onClick={props.onClick}>
<span className={classes.icon}>
Expand Down

0 comments on commit ea0e8a3

Please sign in to comment.