Remove no longer used angular flash-another component

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-01-03 01:30:29 +01:00 committed by Lorenzo Alberto Maria Ambrosi
parent 2cd60af841
commit 3a7d770f6d
2 changed files with 1 additions and 27 deletions

View File

@ -1,24 +0,0 @@
/*
* Copyright 2019 balena.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as angular from 'angular';
import { react2angular } from 'react2angular';
import { FlashAnother } from './flash-another';
export const MODULE_NAME = 'Etcher.Components.FlashAnother';
const FlashAnotherModule = angular.module(MODULE_NAME, []);
FlashAnotherModule.component('flashAnother', react2angular(FlashAnother));

View File

@ -28,11 +28,9 @@ import * as angularRouter from 'angular-ui-router';
import { react2angular } from 'react2angular';
import MainPage from './MainPage';
import { MODULE_NAME as flashAnother } from '../../components/flash-another';
export const MODULE_NAME = 'Etcher.Pages.Main';
const Main = angular.module(MODULE_NAME, [angularRouter, flashAnother]);
const Main = angular.module(MODULE_NAME, [angularRouter]);
Main.component('mainPage', react2angular(MainPage, [], ['$state']));