MessageLogger: fix edit modal close button

This commit is contained in:
Vendicated 2024-07-15 05:09:13 +02:00
parent ea746f6633
commit 5bd10c8608
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -39,7 +39,7 @@ export function HistoryModal({ modalProps, message }: { modalProps: ModalProps;
<ModalRoot {...modalProps} size={ModalSize.LARGE}>
<ModalHeader className={cl("head")}>
<Text variant="heading-lg/semibold" style={{ flexGrow: 1 }}>Message Edit History</Text>
<ModalCloseButton onClick={close} />
<ModalCloseButton onClick={modalProps.onClose} />
</ModalHeader>
<ModalContent className={cl("contents")}>