mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
fix dialogs in notebook
This commit is contained in:
@@ -156,10 +156,11 @@ export const ActionSheetComponent = ({
|
||||
break;
|
||||
}
|
||||
case 'topic': {
|
||||
toAdd = db.getTopic(topic.notebookId, topic.title);
|
||||
toAdd = db.getTopic(note.notebookId, note.title);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!nodispatch) {
|
||||
dispatch({type: type});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user