Skip to content

Commit 961f12d

Browse files
committed
feat: migrate cart
1 parent 22a2946 commit 961f12d

File tree

3 files changed

+13
-20
lines changed

3 files changed

+13
-20
lines changed

src/app/cart/page.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import CartTemplate from "@modules/cart/templates"
2+
import { Metadata } from "next"
3+
4+
export const metadata: Metadata = {
5+
title: "Shopping Bag",
6+
description: "View your shopping bag",
7+
}
8+
9+
export default function Cart() {
10+
return <CartTemplate />
11+
}

src/modules/cart/templates/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use client"
2+
13
import useEnrichedLineItems from "@lib/hooks/use-enrich-line-items"
24
import DiscountCode from "@modules/checkout/components/discount-code"
35
import SkeletonCartPage from "@modules/skeletons/templates/skeleton-cart-page"

src/pages/cart.tsx

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)