fixed resetting of topics

This commit is contained in:
Roland Osborne 2022-04-26 12:54:41 -07:00
parent 93c363c9e9
commit 19b05cd4e8

View File

@ -104,7 +104,7 @@ export function useConversation() {
}
useEffect(() => {
if (id.current.channelId != channelId || id.current.cardId) {
if (id.current.channelId != channelId || id.current.cardId != cardId) {
id.current = { cardId, channelId };
topics.current = new Map();
revision.current = null;