fix input value not cleared on closing dialog

This commit is contained in:
ammarahm-ed
2020-03-17 09:51:37 +05:00
parent 87d56958e8
commit 75284c83b6

View File

@@ -119,6 +119,7 @@ export class AddNotebookDialog extends React.Component {
this.currentInputValue.trim().length !== 0
) {
t.push(this.currentInputValue);
this.currentInputValue = null;
}
if (id) {
await db.notebooks.add({