Fix clearing mentions in thread
This commit is contained in:
parent
f9cfa51458
commit
28e1dd4c89
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue