From ffeef89fe3e5c0dc9427f70d5db346da9a10e7e7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 27 Sep 2025 14:58:07 +0530 Subject: [PATCH 1/2] initial fixes --- package-lock.json | 4 ++-- src/components/Cart/index.tsx | 12 ++++++------ src/components/Checkout/Billing.tsx | 2 +- .../Common/CartSidebarModal/EmptyCart.tsx | 12 ++++++------ src/components/Common/PreviewSlider.tsx | 8 ++++---- src/components/Common/QuickViewModal.tsx | 14 ++++++++------ src/components/MyAccount/index.tsx | 2 +- 7 files changed, 28 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5b3d104..009a9e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "next-commerce-pro", + "name": "next-commerce-community", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "next-commerce-pro", + "name": "next-commerce-community", "version": "0.1.0", "dependencies": { "@reduxjs/toolkit": "^2.6.1", diff --git a/src/components/Cart/index.tsx b/src/components/Cart/index.tsx index 011891c..4362738 100644 --- a/src/components/Cart/index.tsx +++ b/src/components/Cart/index.tsx @@ -80,20 +80,20 @@ const Cart = () => { > diff --git a/src/components/Checkout/Billing.tsx b/src/components/Checkout/Billing.tsx index 6fe54a7..9ab3a17 100644 --- a/src/components/Checkout/Billing.tsx +++ b/src/components/Checkout/Billing.tsx @@ -77,7 +77,7 @@ const Billing = () => { d="M2.41469 5.03569L2.41467 5.03571L2.41749 5.03846L7.76749 10.2635L8.0015 10.492L8.23442 10.2623L13.5844 4.98735L13.5844 4.98735L13.5861 4.98569C13.6809 4.89086 13.8199 4.89087 13.9147 4.98569C14.0092 5.08024 14.0095 5.21864 13.9155 5.31345C13.9152 5.31373 13.915 5.31401 13.9147 5.31429L8.16676 10.9622L8.16676 10.9622L8.16469 10.9643C8.06838 11.0606 8.02352 11.0667 8.00039 11.0667C7.94147 11.0667 7.89042 11.0522 7.82064 10.9991L2.08526 5.36345C1.99127 5.26865 1.99154 5.13024 2.08609 5.03569C2.18092 4.94086 2.31986 4.94086 2.41469 5.03569Z" fill="" stroke="" - stroke-width="0.666667" + strokeWidth="0.666667" /> diff --git a/src/components/Common/CartSidebarModal/EmptyCart.tsx b/src/components/Common/CartSidebarModal/EmptyCart.tsx index f8dc76d..5b3b1a4 100644 --- a/src/components/Common/CartSidebarModal/EmptyCart.tsx +++ b/src/components/Common/CartSidebarModal/EmptyCart.tsx @@ -18,20 +18,20 @@ const EmptyCart = () => { > diff --git a/src/components/Common/PreviewSlider.tsx b/src/components/Common/PreviewSlider.tsx index 0ebdca6..bd58e63 100644 --- a/src/components/Common/PreviewSlider.tsx +++ b/src/components/Common/PreviewSlider.tsx @@ -66,8 +66,8 @@ const PreviewSliderModal = () => { xmlns="http://www.w3.org/2000/svg" > @@ -86,8 +86,8 @@ const PreviewSliderModal = () => { xmlns="http://www.w3.org/2000/svg" > diff --git a/src/components/Common/QuickViewModal.tsx b/src/components/Common/QuickViewModal.tsx index acabf80..786bea2 100644 --- a/src/components/Common/QuickViewModal.tsx +++ b/src/components/Common/QuickViewModal.tsx @@ -137,12 +137,14 @@ const QuickViewModal = () => { - products-details + {product?.imgs?.previews?.[activePreview] ? ( + products-details + ) : null} diff --git a/src/components/MyAccount/index.tsx b/src/components/MyAccount/index.tsx index 83a95a3..f37c72d 100644 --- a/src/components/MyAccount/index.tsx +++ b/src/components/MyAccount/index.tsx @@ -590,7 +590,7 @@ const MyAccount = () => { name="firstName" id="firstName" placeholder="Jhon" - value="Jhon" + defaultValue="Jhon" className="rounded-md border border-gray-3 bg-gray-1 placeholder:text-dark-5 w-full py-2.5 px-5 outline-none duration-200 focus:border-transparent focus:shadow-input focus:ring-2 focus:ring-blue/20" /> From acd01860707282031da9b8ec6a5205ecc6f627ff Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 27 Sep 2025 15:03:34 +0530 Subject: [PATCH 2/2] initial fixes2 --- src/components/MyAccount/AddressModal.tsx | 4 ++-- src/components/Orders/OrderActions.tsx | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/MyAccount/AddressModal.tsx b/src/components/MyAccount/AddressModal.tsx index c7d2e36..e15ed67 100644 --- a/src/components/MyAccount/AddressModal.tsx +++ b/src/components/MyAccount/AddressModal.tsx @@ -43,8 +43,8 @@ const AddressModal = ({ isOpen, closeModal }) => { xmlns="http://www.w3.org/2000/svg" > diff --git a/src/components/Orders/OrderActions.tsx b/src/components/Orders/OrderActions.tsx index e726331..7eaf4ee 100644 --- a/src/components/Orders/OrderActions.tsx +++ b/src/components/Orders/OrderActions.tsx @@ -15,14 +15,14 @@ const OrderActions = ({ toggleEdit, toggleDetails }: any) => { xmlns="http://www.w3.org/2000/svg" > @@ -37,8 +37,8 @@ const OrderActions = ({ toggleEdit, toggleDetails }: any) => { xmlns="http://www.w3.org/2000/svg" >