We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c402c commit 35be2d8Copy full SHA for 35be2d8
src/CountryPicker.js
@@ -20,7 +20,7 @@ import {
20
21
import Fuse from 'fuse.js'
22
23
-import cca2List from '../data/cca2'
+import cca2List from '../data/cca2.json'
24
import { getHeightPercent } from './ratio'
25
import CloseButton from './CloseButton'
26
import countryPickerStyles from './CountryPicker.style'
@@ -43,10 +43,10 @@ const setCountries = flagType => {
43
}
44
45
if (isEmojiable) {
46
- countries = require('../data/countries-emoji')
+ countries = require('../data/countries-emoji.json')
47
Emoji = require('./emoji').default
48
} else {
49
- countries = require('../data/countries')
+ countries = require('../data/countries.json')
50
Emoji = <View />
51
52
0 commit comments