Browse Source

removing test page

Peter Holmberg 7 years ago
parent
commit
5916f76991
2 changed files with 0 additions and 21 deletions
  1. 0 14
      public/app/features/test/TestPage.tsx
  2. 0 7
      public/app/routes/routes.ts

+ 0 - 14
public/app/features/test/TestPage.tsx

@@ -1,14 +0,0 @@
-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>
-    );
-  }
-}

+ 0 - 7
public/app/routes/routes.ts

@@ -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',