locale region fixed

This commit is contained in:
VividTruthKeeper 2022-11-22 17:11:36 +05:00
parent 2cd8b33958
commit 272bb4079c
1 changed files with 6 additions and 2 deletions

View File

@ -314,9 +314,13 @@ const TopupStage3 = ({ setStage, data, setData }) => {
setData({
...data,
message: inputValid.message,
region: inputLocal.region,
region:
locale === "TKM" ? inputValid.region : inputLocal.region,
region_localized: inputValid.region,
branch: inputLocal.affiliate,
branch:
locale === "TKM"
? inputValid.affiliate
: inputLocal.affiliate,
branch_localized: inputValid.affiliate,
});
}}