|
|
@ -6,7 +6,6 @@ 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 Apps from "./pages/dashboard/apps/Apps";
|
|
|
|
import Release from "./pages/dashboard/apps/release/Release";
|
|
|
|
import Release from "./pages/dashboard/apps/release/Release";
|
|
|
|
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";
|
|
|
|
import {Provider} from "react-redux";
|
|
|
|
import {Provider} from "react-redux";
|
|
|
@ -24,17 +23,12 @@ const routes = [
|
|
|
|
component: Dashboard,
|
|
|
|
component: Dashboard,
|
|
|
|
routes: [
|
|
|
|
routes: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: '/store/android',
|
|
|
|
path: '/store/:deviceType',
|
|
|
|
component: Apps,
|
|
|
|
component: Apps,
|
|
|
|
exact: true
|
|
|
|
exact: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: '/store/apps/new-app',
|
|
|
|
path: '/store/:deviceType/apps/:uuid',
|
|
|
|
component: AddNewApp,
|
|
|
|
|
|
|
|
exact: true
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
path: '/store/android/:uuid',
|
|
|
|
|
|
|
|
exact: true,
|
|
|
|
exact: true,
|
|
|
|
component: Release
|
|
|
|
component: Release
|
|
|
|
}
|
|
|
|
}
|
|
|
|