mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
fix: search and favorites
This commit is contained in:
@@ -101,9 +101,8 @@ export const AddNotebookDialog = ({visible, close, toEdit = null}) => {
|
||||
title,
|
||||
description,
|
||||
topics,
|
||||
timestamp: toEdit ? toEdit.dateCreated : null,
|
||||
timestamp: toEdit && toEdit.dateCreated ? toEdit.dateCreated : null,
|
||||
});
|
||||
console.log(title, description, topics, toEdit.dateCreated);
|
||||
|
||||
ToastEvent.show('New notebook added', 'success', 3000, () => {}, '');
|
||||
setTopics(['']);
|
||||
|
||||
Reference in New Issue
Block a user