From 3cb24b52ac84e5ea9ae62b54ad8e51f9f7e663f6 Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Sun, 11 Jun 2023 23:25:49 +0100 Subject: [PATCH] fix: make modal don't close on overlay click; remove dismiss button in this modal. --- src/features/settings/panels/QMCv2/ImportFileModal.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/features/settings/panels/QMCv2/ImportFileModal.tsx b/src/features/settings/panels/QMCv2/ImportFileModal.tsx index 4cc798e..728499a 100644 --- a/src/features/settings/panels/QMCv2/ImportFileModal.tsx +++ b/src/features/settings/panels/QMCv2/ImportFileModal.tsx @@ -1,12 +1,10 @@ import { - Button, Center, Flex, Modal, ModalBody, ModalCloseButton, ModalContent, - ModalFooter, ModalHeader, ModalOverlay, Tab, @@ -63,7 +61,7 @@ export function ImportFileModal({ onClose, show }: ImportFileModalProps) { }; return ( - + 导入密钥数据库 @@ -88,12 +86,6 @@ export function ImportFileModal({ onClose, show }: ImportFileModalProps) { - - - - );