mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
feat(webapp): add all countries to the setup organization page
This commit is contained in:
10
packages/webapp/src/utils/countries.tsx
Normal file
10
packages/webapp/src/utils/countries.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Countries } from '@/constants/countries';
|
||||
|
||||
export const getAllCountries = () => {
|
||||
return Object.keys(Countries).map((countryCode) => {
|
||||
return {
|
||||
...Countries[countryCode],
|
||||
countryCode,
|
||||
}
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user