fix: search items list not updating

This commit is contained in:
ammarahm-ed
2022-03-23 12:23:51 +05:00
parent c64ddb4e0c
commit d0a75966ba
17 changed files with 68 additions and 24 deletions

View File

@@ -393,6 +393,7 @@ export const useActions = ({ close = () => {}, item }) => {
} else {
try {
close();
console.log('moving note to trash');
await deleteItems(item);
} catch (e) {}
}