remove console.log

This commit is contained in:
ammarahm-ed
2020-11-20 02:43:07 +05:00
parent acdc9898e9
commit a7f1805ffa
31 changed files with 23 additions and 78 deletions

View File

@@ -64,7 +64,6 @@ export class AddNotebookDialog extends React.Component {
if (index === 0) return;
topicsList.push(item.title);
});
console.log(topicsList);
this.id = toEdit.id;
this.title = toEdit.title;
this.description = toEdit.description;
@@ -105,7 +104,7 @@ export class AddNotebookDialog extends React.Component {
let edit = this.props.toEdit;
if (edit && edit.id) {
let topicToDelete = edit.topics[index + 1];
console.log(topicToDelete);
if (topicToDelete) {
this.topicsToDelete.push(topicToDelete.id);
}
@@ -432,7 +431,7 @@ export class AddNotebookDialog extends React.Component {
<TopicItem
item={item}
onPress={(item, index) => {
console.log('here');
this.prevIndex = index;
this.prevItem = item;
this.topicInputRef.setNativeProps({