Commit 5916f769 by Peter Holmberg

removing test page

parent cc7bf31c
import React, { PureComponent } from 'react';
import UnitPicker from 'app/core/components/Picker/Unit/UnitPicker';
export default class TestPage extends PureComponent {
render() {
return (
<div className="page-body page-container">
<div style={{ margin: '160px auto 0', width: '500px' }}>
<UnitPicker onSelected={() => {}} />
</div>
</div>
);
}
}
......@@ -16,7 +16,6 @@ import UsersListPage from 'app/features/users/UsersListPage';
import DataSourceDashboards from 'app/features/datasources/DataSourceDashboards';
import DataSourceSettings from '../features/datasources/settings/DataSourceSettings';
import OrgDetailsPage from '../features/org/OrgDetailsPage';
import TestPage from '../features/test/TestPage';
/** @ngInject */
export function setupAngularRoutes($routeProvider, $locationProvider) {
......@@ -311,12 +310,6 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
controller: 'AlertNotificationEditCtrl',
controllerAs: 'ctrl',
})
.when('/test', {
template: '<react-container />',
resolve: {
component: () => TestPage,
},
})
.otherwise({
templateUrl: 'public/app/partials/error.html',
controller: 'ErrorCtrl',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment