Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
roienatan committed Oct 17, 2023
1 parent 8e8385b commit f999629
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,9 @@ const ChatContent: ForwardRefRenderFunction<

useEffect(() => {
if (messages) {
console.log(messages);
forceUpdate();
}

if (dateList) {
console.log(dateList);
forceUpdate();
}
}, [messages, dateList]);
}, [messages]);

const [highlightedMessageId, setHighlightedMessageId] = useState(
() => (typeof messageIdParam === "string" && messageIdParam) || null,
Expand Down

0 comments on commit f999629

Please sign in to comment.