Fix image rendering and unique key for pending message?

This commit is contained in:
sabaimran
2024-07-09 21:55:54 +05:30
parent c8c5d50b1a
commit e358723baa
2 changed files with 2 additions and 2 deletions

View File

@@ -292,7 +292,7 @@ export default function ChatHistory(props: ChatHistoryProps) {
{
props.pendingMessage &&
<ChatMessage
key={"pendingMessage"}
key={`pendingMessage-${props.pendingMessage.length}`}
isMobileWidth={isMobileWidth}
chatMessage={
{