wip3
This commit is contained in:
@@ -44,7 +44,7 @@ export const getRegion = async (countryCode: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const regions = await listRegions()
|
const regions = await listRegions()
|
||||||
|
console.log("regions", regions)
|
||||||
if (!regions) {
|
if (!regions) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
@@ -57,7 +57,7 @@ export const getRegion = async (countryCode: string) => {
|
|||||||
|
|
||||||
const region = countryCode
|
const region = countryCode
|
||||||
? regionMap.get(countryCode)
|
? regionMap.get(countryCode)
|
||||||
: regionMap.get("us")
|
: regionMap.get("et")
|
||||||
|
|
||||||
return region
|
return region
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
|
|||||||
Reference in New Issue
Block a user