mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-22 19:05:56 -04:00
Use country data from an NPM package
To prepare to upgrade react-telephone-input which removed this module
This commit is contained in:
parent
d0e83afcb9
commit
61c2bb148a
2 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@
|
|||
"classnames": "2.2.5",
|
||||
"cookie": "0.2.2",
|
||||
"copy-webpack-plugin": "0.2.0",
|
||||
"country-telephone-data": "0.5.5",
|
||||
"create-react-class": "15.6.2",
|
||||
"css-loader": "0.23.1",
|
||||
"eslint": "4.7.1",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const allCountries = require('react-telephone-input/lib/country_data').allCountries;
|
||||
const allCountries = require('country-telephone-data').allCountries;
|
||||
const classNames = require('classnames');
|
||||
const ComponentMixin = require('formsy-react-components').ComponentMixin;
|
||||
const createReactClass = require('create-react-class');
|
||||
|
|
Loading…
Reference in a new issue