Update src/app/shop/page.tsx
This commit is contained in:
@@ -31,7 +31,9 @@ export default function ShopPage() {
|
||||
getCheckoutItems,
|
||||
} = useCart();
|
||||
|
||||
const { checkout, isLoading: isCheckoutLoading } = useCheckout();
|
||||
const {
|
||||
checkout, isLoading: isCheckoutLoading
|
||||
} = useCheckout();
|
||||
|
||||
const handleCheckout = useCallback(async () => {
|
||||
if (cartItems.length === 0) return;
|
||||
@@ -59,7 +61,7 @@ export default function ShopPage() {
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}>
|
||||
brandName="CRM AI"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
buttonClassName="min-w-[120px] justify-center"
|
||||
@@ -107,7 +109,7 @@ export default function ShopPage() {
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}>
|
||||
brandName="CRM AI"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
buttonClassName="min-w-[120px] justify-center"
|
||||
|
||||
Reference in New Issue
Block a user