refactored Apps Component

feature/appm-store/pbac
Jayasanka 6 years ago
parent c3689010dd
commit 9c80756c12

@ -4,7 +4,7 @@ import * as serviceWorker from './serviceWorker';
import App from "./App"; import App from "./App";
import Login from "./pages/Login"; import Login from "./pages/Login";
import Dashboard from "./pages/dashboard/Dashboard"; import Dashboard from "./pages/dashboard/Dashboard";
import Apps from "./pages/dashboard/apps/Apps"; import OldApps from "./pages/dashboard/apps/OldApps";
import AddNewApp from "./pages/dashboard/add-new-app/AddNewApp"; import AddNewApp from "./pages/dashboard/add-new-app/AddNewApp";
import './index.css'; import './index.css';
import store from "./js/store/index"; import store from "./js/store/index";
@ -25,7 +25,7 @@ const routes = [
routes: [ routes: [
{ {
path: '/publisher/apps', path: '/publisher/apps',
component: Apps, component: OldApps,
exact: true exact: true
}, },
{ {

@ -18,12 +18,12 @@ const routes = [
}, },
{ {
path: 'second', path: 'second',
breadcrumbName: 'Apps', breadcrumbName: 'OldApps',
}, },
]; ];
class Apps extends React.Component { class OldApps extends React.Component {
routes; routes;
state = { state = {
@ -223,4 +223,4 @@ class Apps extends React.Component {
} }
} }
export default Apps; export default OldApps;
Loading…
Cancel
Save