Skip to content

Commit 7dbaa8e

Browse files
authored
add: standardizeCountryName (#54)
1 parent 349fff3 commit 7dbaa8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hooks/useActivities.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ const standardizeCountryName = (country: string): string => {
3030
}
3131
if (country.includes('奧地利')) {
3232
return '奥地利';
33+
}
34+
if (country.includes('阿拉伯联合酋长国')) {
35+
return '阿联酋';
3336
} else {
3437
return country;
3538
}

0 commit comments

Comments
 (0)