diff --git a/app/src/App.js b/app/src/App.js index b3876e6..426443c 100644 --- a/app/src/App.js +++ b/app/src/App.js @@ -16,6 +16,7 @@ import { Provider } from 'react-redux'; import store from './store'; import ReactRouter from './router/ReactRouter'; import { BrowserRouter as Router, Link, Route, Switch } from 'react-router-dom'; +import AutoLogin from 'components/AutoLogin/AutoLogin'; @@ -26,6 +27,7 @@ function App() { {/* } /> */} } /> + } /> diff --git a/app/src/router/ReactRouter.js b/app/src/router/ReactRouter.js index 4028047..32a743a 100644 --- a/app/src/router/ReactRouter.js +++ b/app/src/router/ReactRouter.js @@ -47,15 +47,6 @@ class ReactRouter extends Component { : '' } - { - this.state.dataRole?.indexOf('search:view') !== -1 - ? - <> - } /> - - : - '' - } { this.state.dataRole?.indexOf('search:view') !== -1