Skip to content

Commit

Permalink
Checkout page redesign (#214)
Browse files Browse the repository at this point in the history
* redesign for the checkout page

* redesign for the checkout page

* typo minor bug

* icon fix

* handleDelete cart items and bug fix
  • Loading branch information
ramo-dev authored Jul 18, 2024
1 parent 590cc70 commit 8474c2d
Show file tree
Hide file tree
Showing 4 changed files with 328 additions and 219 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"@emailjs/browser": "^3.11.0",
"@headlessui/react": "^1.7.15",
"@headlessui/react": "^2.1.2",
"@hookstate/core": "^4.0.1",
"@tanstack/react-query": "^5.22.2",
"@tanstack/react-query-devtools": "^5.24.0",
Expand Down
4 changes: 3 additions & 1 deletion src/components/shop/CartDrawer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ function CartDrawer({ open, setOpen }) {
navigate("/shop/checkout");
// }
};
console.log("cartProducts: ", cartProducts);

// query cart products
// console.log("cartProducts: ", cartProducts);

return (
<Transition.Root show={open} as={Fragment}>
Expand Down
Loading

0 comments on commit 8474c2d

Please sign in to comment.