Skip to content

Commit 129d5e5

Browse files
committed
fix(web): drop duplicate creator identity on public cart (hero already shows it)
1 parent 4ef2ce2 commit 129d5e5

1 file changed

Lines changed: 5 additions & 16 deletions

File tree

web/app/(public)/c/[slug]/page.tsx

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,11 @@ export default async function PublicCartPage({ params }: { params: { slug: strin
5555
</div>
5656
</section>
5757

58-
{/* CREATOR HEADER */}
59-
<div className="mx-auto max-w-4xl px-4 sm:px-6 pt-6 flex items-center gap-3">
60-
<Image
61-
src={cart.ownerAvatarUrl}
62-
alt=""
63-
width={44}
64-
height={44}
65-
className="rounded-full border border-rule shrink-0"
66-
unoptimized
67-
/>
68-
<div className="min-w-0">
69-
<p className="font-medium leading-tight truncate">@{cart.ownerHandle}</p>
70-
<p className="text-sm text-muted">
71-
{cart.products.length} {cart.products.length === 1 ? "product" : "products"}
72-
</p>
73-
</div>
58+
{/* PRODUCT COUNT (identity already shown in the hero) */}
59+
<div className="mx-auto max-w-4xl px-4 sm:px-6 pt-6">
60+
<p className="text-sm text-muted">
61+
{cart.products.length} {cart.products.length === 1 ? "product" : "products"}
62+
</p>
7463
</div>
7564

7665
{/* PRODUCTS */}

0 commit comments

Comments
 (0)