mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
add toast messag queuing
This commit is contained in:
@@ -272,7 +272,7 @@ export const ActionSheetComponent = ({
|
||||
name: 'Restore',
|
||||
icon: 'delete-restore',
|
||||
func: async () => {
|
||||
await db.trash.restore(note.id);
|
||||
console.log(await db.trash.restore(note.id),"RESULT");
|
||||
dispatch({type: ACTIONS.TRASH});
|
||||
localRefresh(note.type);
|
||||
ToastEvent.show(
|
||||
|
||||
Reference in New Issue
Block a user