From 2977f0d7ea096db1d57d9c5c6a324196fddeb902 Mon Sep 17 00:00:00 2001 From: john <johnbarlas39@gmail.com> Date: Fri, 7 Apr 2017 17:50:02 +0300 Subject: [PATCH] fix references to old frontend --- app/app.js | 8 ++++---- app/components/BookBuilder/BookBuilder.jsx | 2 +- app/components/BookBuilder/BookList.jsx | 2 +- app/components/Navigation/Navigation.jsx | 2 +- app/components/SimpleEditor/SimpleEditorWrapper.jsx | 2 +- app/routes.jsx | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/app.js b/app/app.js index 310ce71..dc28d42 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 4122478..6f88bbe 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 96617b5..dbd111f 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 673ecb0..013e3aa 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 960457e..b643a83 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 104c80a..6acdba9 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' -- GitLab