diff --git a/admin/javascript/src/boot/index.js b/admin/javascript/src/boot/index.js index 0c5128067..38066e280 100644 --- a/admin/javascript/src/boot/index.js +++ b/admin/javascript/src/boot/index.js @@ -4,12 +4,12 @@ import thunkMiddleware from 'redux-thunk'; import createLogger from 'redux-logger'; import reducerRegister from 'reducer-register'; -import * as configActions from '../state/config/actions'; -import ConfigReducer from '../state/config/reducer'; -import SchemaReducer from '../state/schema/reducer'; +import * as configActions from 'state/config/actions'; +import ConfigReducer from 'state/config/reducer'; +import SchemaReducer from 'state/schema/reducer'; // Sections -import CampaignAdmin from '../sections/campaign-admin'; +import CampaignAdmin from 'sections/campaign-admin'; function appBoot() { reducerRegister.add('config', ConfigReducer); diff --git a/admin/javascript/src/components/action/index.js b/admin/javascript/src/components/action/index.js index 4af8004d6..35c29bcb5 100644 --- a/admin/javascript/src/components/action/index.js +++ b/admin/javascript/src/components/action/index.js @@ -1,6 +1,6 @@ import React from 'react'; import ReactDOM from 'react-dom'; -import SilverStripeComponent from '../../SilverStripeComponent'; +import SilverStripeComponent from 'silverstripe-component.js'; class ActionComponent extends SilverStripeComponent { constructor(props) { @@ -8,7 +8,7 @@ class ActionComponent extends SilverStripeComponent { this.handleClick = this.handleClick.bind(this); } - + render() { return (