From 8ccd534ec095323dde4571542afe964e1b3921ad Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Wed, 17 May 2023 20:35:43 +0200 Subject: [PATCH] fix(home): remove duplicated settings modal Signed-off-by: Camila Belo --- plugins/home/src/components/SettingsModal.tsx | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 plugins/home/src/components/SettingsModal.tsx diff --git a/plugins/home/src/components/SettingsModal.tsx b/plugins/home/src/components/SettingsModal.tsx deleted file mode 100644 index ace9944f28..0000000000 --- a/plugins/home/src/components/SettingsModal.tsx +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2021 The Backstage Authors - * - * 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 React from 'react'; -import { - Button, - Dialog, - DialogActions, - DialogContent, - DialogTitle, -} from '@material-ui/core'; - -/** @public */ -export const SettingsModal = (props: { - open: boolean; - close: Function; - componentName: string; - children: JSX.Element; -}) => { - const { open, close, componentName, children } = props; - - return ( - close()}> - Settings - {componentName} - {children} - - - - - ); -};