MessageLogger: fix edit modal close button
This commit is contained in:
parent
ea746f6633
commit
5bd10c8608
|
@ -39,7 +39,7 @@ export function HistoryModal({ modalProps, message }: { modalProps: ModalProps;
|
||||||
<ModalRoot {...modalProps} size={ModalSize.LARGE}>
|
<ModalRoot {...modalProps} size={ModalSize.LARGE}>
|
||||||
<ModalHeader className={cl("head")}>
|
<ModalHeader className={cl("head")}>
|
||||||
<Text variant="heading-lg/semibold" style={{ flexGrow: 1 }}>Message Edit History</Text>
|
<Text variant="heading-lg/semibold" style={{ flexGrow: 1 }}>Message Edit History</Text>
|
||||||
<ModalCloseButton onClick={close} />
|
<ModalCloseButton onClick={modalProps.onClose} />
|
||||||
</ModalHeader>
|
</ModalHeader>
|
||||||
|
|
||||||
<ModalContent className={cl("contents")}>
|
<ModalContent className={cl("contents")}>
|
||||||
|
|
Loading…
Reference in a new issue