diff --git a/admin/client/src/boot/index.js b/admin/client/src/boot/index.js index 50f54f143..9e3c9f630 100644 --- a/admin/client/src/boot/index.js +++ b/admin/client/src/boot/index.js @@ -17,6 +17,9 @@ import bootInjector from 'boot/BootInjector'; // eslint-disable-next-line no-unused-vars import CampaignAdmin from 'containers/CampaignAdmin/controller'; +import es6promise from 'es6-promise'; +es6promise.polyfill(); + function appBoot() { reducerRegister.add('config', ConfigReducer); reducerRegister.add('form', ReduxFormReducer); diff --git a/admin/client/src/containers/FormBuilderLoader/FormBuilderLoader.js b/admin/client/src/containers/FormBuilderLoader/FormBuilderLoader.js index a3ba92825..043781d42 100644 --- a/admin/client/src/containers/FormBuilderLoader/FormBuilderLoader.js +++ b/admin/client/src/containers/FormBuilderLoader/FormBuilderLoader.js @@ -7,9 +7,6 @@ import * as schemaActions from 'state/schema/SchemaActions'; import Form from 'components/Form/Form'; import FormBuilder, { basePropTypes, schemaPropType } from 'components/FormBuilder/FormBuilder'; -import es6promise from 'es6-promise'; -es6promise.polyfill(); - class FormBuilderLoader extends Component { constructor(props) {