fix route state not updating on getting new changes

This commit is contained in:
ammarahm-ed
2022-05-10 18:04:56 +05:00
parent 67f4867acb
commit f5a3d9370e
10 changed files with 41 additions and 32 deletions

View File

@@ -193,7 +193,8 @@ export const useActions = ({ close = () => {}, item }) => {
'TopicNotes',
'Favorites',
'Notes',
'Notebooks'
'Notebooks',
'Trash'
);
let type = item.type === 'trash' ? item.itemType : item.type;
ToastEvent.show({