|
|
|
@ -7,6 +7,7 @@ import styles from './Dashboard.less';
|
|
|
|
|
import Logo from "../../../public/images/logo.svg";
|
|
|
|
|
import {Link, NavLink} from "react-router-dom";
|
|
|
|
|
import RouteWithSubRoutes from "../../components/RouteWithSubRoutes"
|
|
|
|
|
import { Switch, Redirect } from 'react-router'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Dashboard extends React.Component {
|
|
|
|
@ -36,10 +37,14 @@ class Dashboard extends React.Component {
|
|
|
|
|
</Menu>
|
|
|
|
|
</Header>
|
|
|
|
|
<Content style={{padding: '0 0'}}>
|
|
|
|
|
<Switch>
|
|
|
|
|
<Redirect exact from="/publisher" to="/publisher/apps"/>
|
|
|
|
|
{this.state.routes.map((route) => (
|
|
|
|
|
<RouteWithSubRoutes key={route.path} {...route} />
|
|
|
|
|
))}
|
|
|
|
|
|
|
|
|
|
</Switch>
|
|
|
|
|
|
|
|
|
|
</Content>
|
|
|
|
|
<Footer style={{textAlign: 'center'}}>
|
|
|
|
|
©2019 entgra.io
|
|
|
|
|