diff --git a/src/app/[name]/(Dialogs)/cart/components/CartSummary.tsx b/src/app/[name]/(Dialogs)/cart/components/CartSummary.tsx index 4da7186..d776785 100644 --- a/src/app/[name]/(Dialogs)/cart/components/CartSummary.tsx +++ b/src/app/[name]/(Dialogs)/cart/components/CartSummary.tsx @@ -92,7 +92,7 @@ const CartSummary = ({ description = '', onDescriptionChange }: CartSummaryProps } }} > - + diff --git a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/ShippingSection.tsx b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/ShippingSection.tsx index f4bca96..9436d8c 100644 --- a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/ShippingSection.tsx +++ b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/ShippingSection.tsx @@ -52,7 +52,9 @@ export const ShippingSection = ({ deliveryType, onDeliveryTypeChange }: Shipping onDeliveryTypeChange(selectedOption.id); setDeliveryMethod(selectedOption.id, { onSuccess: () => { - setIsSelectedShipment(true); + setTimeout(() => { + setIsSelectedShipment(true); + }, 500); }, }); }