Skip to content

Commit

Permalink
fix: error in grid card deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Aug 12, 2023
1 parent 674d4d3 commit 5c7b537
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Card/GridView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ const GridView = ({ currentProducts }) => {
) ? (
<button
className={`delete ${darkMode ? 'dark-mode' : ''}`}
onClick={(event) => {
event.stopPropagation()
onClick={() => {
deleteres(product)
}}
>
Expand Down

1 comment on commit 5c7b537

@vercel
Copy link

@vercel vercel bot commented on 5c7b537 Aug 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

free-hit – ./

free-hit-git-main-jasondsouza212.vercel.app
free-hit.vercel.app
free-hit-jasondsouza212.vercel.app

Please sign in to comment.