minor changes & cleanup

This commit is contained in:
ammarahm-ed
2020-05-14 14:52:43 +05:00
parent d904dbe7a2
commit 4de8506048
3 changed files with 5 additions and 2 deletions

View File

@@ -114,8 +114,6 @@ export class AddNotebookDialog extends React.Component {
setTimeout(async () => {
let {topics} = this.state;
let edit = this.props.toEdit;
console.log(this.title, "ELO");
if (!this.title || this.title.trim().length === 0)
return ToastEvent.show('Title is required', 'error', 'local');