mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fixed resetting of topics
This commit is contained in:
parent
93c363c9e9
commit
19b05cd4e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user