fix missing key warning

This commit is contained in:
Ramón Souza 2023-08-31 09:43:27 -03:00
parent 135c2240c7
commit 49f25a8473

View File

@ -236,7 +236,7 @@ const ChatMessageList: React.FC<ChatListProps> = ({
const pagesToLoad = (totalPages - firstPageToLoad) || 1;
return (
[
<MessageListWrapper>
<MessageListWrapper key="message-list-wrapper">
<MessageList
ref={messageListRef}
onWheel={(e) => {