mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix input value not cleared on closing dialog
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user