Skip to content

Commit

Permalink
Fix delete surcharge
Browse files Browse the repository at this point in the history
  • Loading branch information
NghiaDTr committed Nov 22, 2024
1 parent 533a0d3 commit 9de9dc7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ const AvailabilityDetailsForm = (props: TAvailabilityDetailsFormProps) => {

clonedObject[selectedCountry][selectedCurrency].minAmount = '';
clonedObject[selectedCountry][selectedCurrency].maxAmount = '';
clonedObject[selectedCountry][selectedCurrency].surchargeCost = {
percentageAmount: 0,
fixedAmount: '',
};

formik.setValues(clonedObject);
};
Expand Down

0 comments on commit 9de9dc7

Please sign in to comment.