Minor bug fix.

This commit is contained in:
vdv committed 2023-01-03 18:24:38 +01:00
1 parent 44ce641d6a
commit 9e3915c6ce
1 file changed
+3
+3
View File
@@ -20,5 +20,8 @@ export const getVillageOrTown = (address: any) => {
if (address?.address.village) {
return address?.address.village;
}
if (address?.address.city) {
return address?.address.city;
}
return address?.address.town;
};