delay for setIsSelectedShipment
This commit is contained in:
@@ -52,7 +52,9 @@ export const ShippingSection = ({ deliveryType, onDeliveryTypeChange }: Shipping
|
||||
onDeliveryTypeChange(selectedOption.id);
|
||||
setDeliveryMethod(selectedOption.id, {
|
||||
onSuccess: () => {
|
||||
setIsSelectedShipment(true);
|
||||
setTimeout(() => {
|
||||
setIsSelectedShipment(true);
|
||||
}, 500);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user