mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-01 17:31:13 +00:00
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 = () => {
|
const clearNotes = () => {
|
||||||
updateStore('page', () => ({ messages: [], users: {}, postStats: {}, noteActions: {} }));
|
updateStore('page', () => ({ messages: [], users: {}, postStats: {}, noteActions: {}, mentions: {} }));
|
||||||
updateStore('notes', () => []);
|
updateStore('notes', () => []);
|
||||||
updateStore('reposts', () => undefined);
|
updateStore('reposts', () => undefined);
|
||||||
updateStore('lastNote', () => undefined);
|
updateStore('lastNote', () => undefined);
|
||||||
|
Loading…
Reference in New Issue
Block a user