Minor bug fix.
This commit is contained in:
parent
44ce641d6a
commit
9e3915c6ce
|
@ -20,5 +20,8 @@ export const getVillageOrTown = (address: any) => {
|
||||||
if (address?.address.village) {
|
if (address?.address.village) {
|
||||||
return address?.address.village;
|
return address?.address.village;
|
||||||
}
|
}
|
||||||
|
if (address?.address.city) {
|
||||||
|
return address?.address.city;
|
||||||
|
}
|
||||||
return address?.address.town;
|
return address?.address.town;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue