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