diff --git a/app/dashboard/shipping/page.tsx b/app/dashboard/shipping/page.tsx index 4a0d25e..94b2b03 100644 --- a/app/dashboard/shipping/page.tsx +++ b/app/dashboard/shipping/page.tsx @@ -88,10 +88,12 @@ export default function ShippingPage() { return; } - await addShippingMethod( + console.log("Sending request to add shipping method:", newShipping); + const response = await addShippingMethod( newShipping, authToken ); + console.log("Add shipping method response:", response); // Close modal and reset form before refreshing to avoid UI delays setModalOpen(false);