remove console.logs

This commit is contained in:
ammarahm-ed
2020-09-19 16:04:22 +05:00
parent 68d716ae26
commit f52a0328a9
11 changed files with 68 additions and 153 deletions

View File

@@ -76,7 +76,7 @@ const MoveNoteDialog = () => {
}
let res = await db.notebooks.notebook(expanded).topics.add(newTopicTitle);
console.log(newTopicTitle, res);
dispatch({type: ACTIONS.NOTEBOOKS});
dispatch({type: ACTIONS.PINNED});
topicInput.current?.clear();
@@ -358,8 +358,7 @@ const MoveNoteDialog = () => {
onPress={async () => {
let noteIds = [];
selectedItemsList.forEach((i) => noteIds.push(i.id));
console.log(selectedItemsList[0]);
console.log(noteIds, 'NOTE IDS');
let res = await db.notes.move(
{
topic: item.title,
@@ -367,7 +366,6 @@ const MoveNoteDialog = () => {
},
...noteIds,
);
console.log(res);
dispatch({type: ACTIONS.CLEAR_SELECTION});
dispatch({type: ACTIONS.NOTEBOOKS});
dispatch({type: ACTIONS.PINNED});