From 4be78bf7aa7932d18befb475db7055755a3943c1 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 22 Apr 2026 15:23:58 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b24cba6..6f4cbaf 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -14,11 +14,9 @@ import ProductCardThree from '@/components/sections/product/ProductCardThree'; import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive'; export default function LandingPage() { - const [order, setOrder] = useState({ weight: 0, flavor: "" }); - - const handleQuantityChange = (id: string, qty: number) => { + const handleQuantityChange = (quantity: number) => { // Logic for 3lb weight limit restriction - console.log(`Setting product ${id} to ${qty} lbs`); + console.log(`Setting product to ${quantity} lbs`); }; return ( @@ -50,8 +48,6 @@ export default function LandingPage() {
@@ -73,10 +69,10 @@ export default function LandingPage() {