diff --git a/app/app.js b/app/app.js index 310ce71ce1e2e32f1f3bedbbc7b0fdab85630db4..dc28d425fe02bdcb81eafbfaa16540dc12be9589 100644 --- a/app/app.js +++ b/app/app.js @@ -1,8 +1,8 @@ import React from 'react' import ReactDOM from 'react-dom' -import configureStore from 'pubsweet-frontend/src/store/configureStore' -import Root from 'pubsweet-frontend/src/components/Root' +import configureStore from 'pubsweet-client/src/store/configureStore' +import Root from 'pubsweet-client/src/components/Root' import { AppContainer } from 'react-hot-loader' import { browserHistory } from 'react-router' @@ -21,8 +21,8 @@ ReactDOM.render( ) if (module.hot) { - module.hot.accept('pubsweet-frontend/src/components/Root', () => { - const NextRoot = require('pubsweet-frontend/src/components/Root').default + module.hot.accept('pubsweet-client/src/components/Root', () => { + const NextRoot = require('pubsweet-client/src/components/Root').default ReactDOM.render( <AppContainer> diff --git a/app/components/BookBuilder/BookBuilder.jsx b/app/components/BookBuilder/BookBuilder.jsx index 4122478b37ed61ca351611b58023c83a450a537d..6f88bbe5aaee325fcdb203e6cfcb1c731458d910 100644 --- a/app/components/BookBuilder/BookBuilder.jsx +++ b/app/components/BookBuilder/BookBuilder.jsx @@ -3,7 +3,7 @@ import React from 'react' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' -import * as Actions from 'pubsweet-frontend/src/actions' +import * as Actions from 'pubsweet-client/src/actions' import Division from './Division' import Modal from '../utils/Modal' import styles from './styles/bookBuilder.local.scss' diff --git a/app/components/BookBuilder/BookList.jsx b/app/components/BookBuilder/BookList.jsx index 96617b52bb95b9aee7795586041d4bd06dcc469c..dbd111f031bce86a42082b58d5c3a7eb902942b2 100644 --- a/app/components/BookBuilder/BookList.jsx +++ b/app/components/BookBuilder/BookList.jsx @@ -3,7 +3,7 @@ import ReactDOM from 'react-dom' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import { Modal, Button, FormControl, FormGroup, ControlLabel } from 'react-bootstrap' -import * as Actions from 'pubsweet-frontend/src/actions' +import * as Actions from 'pubsweet-client/src/actions' import { Link } from 'react-router' import styles from './styles/bookList.local.scss' diff --git a/app/components/Navigation/Navigation.jsx b/app/components/Navigation/Navigation.jsx index 673ecb095546fcd633d8ddf4174572276ddb8a0e..013e3aad55b467238e8e965e874fc5e6da0fab70 100644 --- a/app/components/Navigation/Navigation.jsx +++ b/app/components/Navigation/Navigation.jsx @@ -3,7 +3,7 @@ import { browserHistory } from 'react-router' import { LinkContainer } from 'react-router-bootstrap' import { Navbar, Nav, NavItem, NavbarBrand } from 'react-bootstrap' -import Authorize from 'pubsweet-frontend/src/helpers/Authorize' +import Authorize from 'pubsweet-client/src/helpers/Authorize' import NavbarUser from 'pubsweet-component-navigation/NavbarUser' export default class Navigation extends React.Component { diff --git a/app/components/SimpleEditor/SimpleEditorWrapper.jsx b/app/components/SimpleEditor/SimpleEditorWrapper.jsx index 960457e4a8fd2e7f7c48d34aa7d9a7ddefcc45be..b643a8378588534f0f9cad083a6923d98445f2a7 100644 --- a/app/components/SimpleEditor/SimpleEditorWrapper.jsx +++ b/app/components/SimpleEditor/SimpleEditorWrapper.jsx @@ -3,7 +3,7 @@ import React from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' -import * as Actions from 'pubsweet-frontend/src/actions' +import * as Actions from 'pubsweet-client/src/actions' import SimpleEditor from './SimpleEditor' diff --git a/app/routes.jsx b/app/routes.jsx index 104c80a7236c1083fcbd38718f3ad7a4619cb93e..6acdba9a4093f8fda2d64f78ad8b87d1700f37ba 100644 --- a/app/routes.jsx +++ b/app/routes.jsx @@ -1,7 +1,7 @@ import React from 'react' import { Redirect, Route } from 'react-router' -import { requireAuthentication } from 'pubsweet-frontend/src/components/AuthenticatedComponent' +import { requireAuthentication } from 'pubsweet-client/src/components/AuthenticatedComponent' // Manage import Manage from 'pubsweet-component-manage/Manage'