From 28e1dd4c8993f58a5c9e9027f893e5dc657baeca Mon Sep 17 00:00:00 2001 From: Bojan Mojsilovic Date: Fri, 19 Apr 2024 14:05:04 +0200 Subject: [PATCH] Fix clearing mentions in thread --- src/contexts/ThreadContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contexts/ThreadContext.tsx b/src/contexts/ThreadContext.tsx index 841ce83..f97901d 100644 --- a/src/contexts/ThreadContext.tsx +++ b/src/contexts/ThreadContext.tsx @@ -122,7 +122,7 @@ export const ThreadProvider = (props: { children: ContextChildren }) => { } const clearNotes = () => { - updateStore('page', () => ({ messages: [], users: {}, postStats: {}, noteActions: {} })); + updateStore('page', () => ({ messages: [], users: {}, postStats: {}, noteActions: {}, mentions: {} })); updateStore('notes', () => []); updateStore('reposts', () => undefined); updateStore('lastNote', () => undefined);