The import statements in the localReducer.js is generating an error.
The folder structure for react-intl changed.
The following section:
import en from 'react-intl/lib/locale-data/en';
import es from 'react-intl/lib/locale-data/es';
needs to be updated to:
import en from 'react-intl/locale-data/en';
import es from 'react-intl/locale-data/es';
because the locale-data is no longer in the lib folder, it is located at the root level of the project.
The import statements in the localReducer.js is generating an error.
The folder structure for
react-intlchanged.The following section:
import en from 'react-intl/lib/locale-data/en';import es from 'react-intl/lib/locale-data/es';needs to be updated to:
import en from 'react-intl/locale-data/en';import es from 'react-intl/locale-data/es';because the locale-data is no longer in the
libfolder, it is located at therootlevel of the project.