bug fixes

This commit is contained in:
ammarahm-ed
2020-02-02 16:18:52 +05:00
parent 884aa56d08
commit 096cc89694
11 changed files with 224 additions and 77 deletions

View File

@@ -31,7 +31,6 @@ export class AddNotebookDialog extends React.Component {
};
this.title = null;
this.description = null;
this.listRef;
this.prevItem = null;
this.prevIndex = null;
@@ -123,6 +122,7 @@ export class AddNotebookDialog extends React.Component {
};
onSubmit = () => {
let {topics} = this.state;
if (
!this.currentInputValue ||
this.currentInputValue === '' ||