From 8c8edfc9c8bb1a0fa3d1e02aab576044857f1c95 Mon Sep 17 00:00:00 2001 From: Wolfboy248 <105884620+Wolfboy248@users.noreply.github.com> Date: Sun, 20 Oct 2024 00:27:38 +0200 Subject: refactor: custom modals --- frontend/src/components/MapDeleteConfirmDialog.tsx | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 frontend/src/components/MapDeleteConfirmDialog.tsx (limited to 'frontend/src/components/MapDeleteConfirmDialog.tsx') diff --git a/frontend/src/components/MapDeleteConfirmDialog.tsx b/frontend/src/components/MapDeleteConfirmDialog.tsx deleted file mode 100644 index 1518a14..0000000 --- a/frontend/src/components/MapDeleteConfirmDialog.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import React from 'react'; - -import "../css/MapDeleteConfirmDialog.css" - -interface MapDeleteConfirmDialogProps { - open: boolean; - onClose: () => void; - map_id: number; - record_id: number; -}; - -const MapDeleteConfirmDialog: React.FC = ({ open, onClose, map_id, record_id }) => { - if (open) { - return ( -
-
- -
-
- ) - } - - return ( - <> - ) -}; - -export default MapDeleteConfirmDialog; -- cgit v1.2.3