fix: consistent wording on "secret import" and add 3-dots in menu (#38)

This commit is contained in:
鲁树人 2023-07-02 15:36:59 +01:00
parent 71d5b656e2
commit a5e3a0f52e
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ export function ImportSecretModal({ clientName, children, show, onClose, onImpor
<Modal isOpen={show} onClose={onClose} closeOnOverlayClick={false} scrollBehavior="inside" size="xl">
<ModalOverlay />
<ModalContent>
<ModalHeader></ModalHeader>
<ModalHeader></ModalHeader>
<ModalCloseButton />
<Flex as={ModalBody} gap={2} flexDir="column" flex={1}>
<Center>

View File

@ -88,7 +88,7 @@ export function PanelKWMv2Key() {
<MenuButton as={IconButton} icon={<MdExpandMore />}></MenuButton>
<MenuList>
<MenuItem onClick={() => setShowImportModal(true)} icon={<Icon as={MdFileUpload} boxSize={5} />}>
</MenuItem>
<MenuDivider />
<MenuItem color="red" onClick={clearAll} icon={<Icon as={MdDeleteForever} boxSize={5} />}>

View File

@ -110,7 +110,7 @@ export function PanelQMCv2Key() {
<MenuButton as={IconButton} icon={<MdExpandMore />}></MenuButton>
<MenuList>
<MenuItem onClick={() => setShowImportModal(true)} icon={<Icon as={MdFileUpload} boxSize={5} />}>
</MenuItem>
<MenuDivider />
<MenuItem color="red" onClick={clearAll} icon={<Icon as={MdDeleteForever} boxSize={5} />}>