Fix clearing mentions in thread

This commit is contained in:
Bojan Mojsilovic 2024-04-19 14:05:04 +02:00
parent f9cfa51458
commit 28e1dd4c89
1 changed files with 1 additions and 1 deletions

View File

@ -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);