From 781bc8dfd0341b531947efac99f91d7a664fd455 Mon Sep 17 00:00:00 2001 From: Alexandros Georgantas <alexgeorg86@gmail.com> Date: Fri, 17 May 2019 16:18:43 +0300 Subject: [PATCH] refactor(app): remove of depricated component --- app/routes.jsx | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/routes.jsx b/app/routes.jsx index 4025ab4..033f0ed 100644 --- a/app/routes.jsx +++ b/app/routes.jsx @@ -3,7 +3,7 @@ import { Redirect, Route, Switch } from 'react-router-dom' import { createGlobalStyle } from 'styled-components' // Users and Teams -import UsersManager from 'pubsweet-component-users-manager/src/UsersManager' +// import UsersManager from 'pubsweet-component-users-manager/src/UsersManager' import GlobalTeamsManager from 'pubsweet-component-editoria-global-teams/src/ConnectedGlobalTeams' // Authentication @@ -102,7 +102,7 @@ export default ( exact path="/books/:bookId/bookComponents/:bookComponentId/preview" /> - <PrivateRoute component={UsersManager} path="/users" /> + {/* <PrivateRoute component={UsersManager} path="/users" /> */} <PrivateRoute component={GlobalTeamsManager} path="/globalTeams" /> </Switch> </Page> diff --git a/package.json b/package.json index f0bad7f..044e01b 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "pubsweet-component-bookbuilder": "^1.2.5", "pubsweet-component-editoria-dashboard": "^0.2.3", "pubsweet-component-editoria-global-teams": "^0.2.2", - "pubsweet-component-editoria-navigation": "^0.1.3", + "pubsweet-component-editoria-navigation": "^0.1.4", "pubsweet-component-epub": "^0.5.17", "pubsweet-component-ink-backend": "^0.1.1", "pubsweet-component-ink-frontend": "^0.2.3", -- GitLab