diff --git a/app/components/MessageAttachments/MessageReplyMessages.tsx b/app/components/MessageAttachments/MessageReplyMessages.tsx index 6e24c96..cf79852 100644 --- a/app/components/MessageAttachments/MessageReplyMessages.tsx +++ b/app/components/MessageAttachments/MessageReplyMessages.tsx @@ -5,6 +5,7 @@ import { ReplyedMessage } from "../ReplyedMessage/ReplyedMessage"; import { IconX } from "@tabler/icons-react"; import { useSetting } from "@/app/providers/SettingsProvider/useSetting"; import { modals } from "@mantine/modals"; +import { MessageReply } from "@/app/providers/DialogProvider/useReplyMessages"; export function MessageReplyMessages(props: AttachmentProps) { const colors = useRosettaColors(); @@ -14,7 +15,7 @@ export function MessageReplyMessages(props: AttachmentProps) { ('bgInReplyMessages', ''); const reply = JSON.parse(props.attachment.blob); - //console.info("Mreply", reply); + console.info("Mreply", reply); const closeAlert = () => { modals.openConfirmModal({ @@ -40,8 +41,8 @@ export function MessageReplyMessages(props: AttachmentProps) { {reply.length <= 0 && } - {reply.map((msg, index) => ( - + {reply.map((msg : MessageReply, index) => ( + ))} {showAlertInReplyMessages && a.timestamp - b.timestamp);