diff --git a/src/actions/ApplicationActions.js b/src/actions/ApplicationActions.js index 40757c7e6..c84dd8c74 100644 --- a/src/actions/ApplicationActions.js +++ b/src/actions/ApplicationActions.js @@ -1,7 +1,7 @@ -import { env, navigationWalker } from '../config' -import { api } from '../services' -import schema, { unschema } from '../schema' -import validate from '../validators' +import { env, navigationWalker } from '@config' +import { api } from '@services' +import schema, { unschema } from '@schema' +import validate from '@validators' export function getApplicationState(done) { return function(dispatch, getState) { diff --git a/src/actions/AuthActions.js b/src/actions/AuthActions.js index 75b423ee5..1d826b6df 100644 --- a/src/actions/AuthActions.js +++ b/src/actions/AuthActions.js @@ -1,5 +1,5 @@ -import { env } from '../config' -import { api } from '../services/api' +import { env } from '@config' +import { api } from '@services/api' import AuthConstants from './AuthConstants' /** diff --git a/src/actions/AuthActions.test.js b/src/actions/AuthActions.test.js index 52ea1b5fc..06e1e6395 100644 --- a/src/actions/AuthActions.test.js +++ b/src/actions/AuthActions.test.js @@ -1,4 +1,4 @@ -import { api } from '../services/api' +import { api } from '@services/api' import MockAdapter from 'axios-mock-adapter' import configureMockStore from 'redux-mock-store' import thunk from 'redux-thunk' diff --git a/src/components/ErrorList/ErrorList.jsx b/src/components/ErrorList/ErrorList.jsx index 5a4b611cd..6ec1a82a1 100644 --- a/src/components/ErrorList/ErrorList.jsx +++ b/src/components/ErrorList/ErrorList.jsx @@ -1,7 +1,7 @@ import React from 'react' import { connect } from 'react-redux' -import { navigationWalker } from '../../config' -import { closest } from '../Form/Generic' +import { navigationWalker } from '@config' +import { closest } from '@components/Form/Generic' /** * The error list component. diff --git a/src/components/Form/Consent/Consent.jsx b/src/components/Form/Consent/Consent.jsx index 74e111c02..4bb2b1288 100644 --- a/src/components/Form/Consent/Consent.jsx +++ b/src/components/Form/Consent/Consent.jsx @@ -1,8 +1,8 @@ import React from 'react' import { connect } from 'react-redux' -import { i18n } from '../../../config' -import { updateApplication } from '../../../actions/ApplicationActions' -import Modal from '../Modal' +import { i18n } from 'config' +import { updateApplication } from '@actions/ApplicationActions' +import Modal from '@components/Form/Modal' export class Consent extends React.Component { constructor(props) {