mirror of
https://github.com/balzack/databag.git
synced 2025-02-15 13:09:17 +00:00
fixed resetting of topics
This commit is contained in:
parent
93c363c9e9
commit
19b05cd4e8
@ -104,7 +104,7 @@ export function useConversation() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (id.current.channelId != channelId || id.current.cardId) {
|
if (id.current.channelId != channelId || id.current.cardId != cardId) {
|
||||||
id.current = { cardId, channelId };
|
id.current = { cardId, channelId };
|
||||||
topics.current = new Map();
|
topics.current = new Map();
|
||||||
revision.current = null;
|
revision.current = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user