feat(webapp): add all countries to the setup organization page

This commit is contained in:
a.bouhuolia
2023-04-05 01:30:36 +02:00
parent a5c190e094
commit da20b7c837
7 changed files with 2304 additions and 30 deletions

View File

@@ -0,0 +1,10 @@
import { Countries } from '@/constants/countries';
export const getAllCountries = () => {
return Object.keys(Countries).map((countryCode) => {
return {
...Countries[countryCode],
countryCode,
}
});
};