diff --git a/src/app.js b/src/app.js index 56c03b9..605db4b 100644 --- a/src/app.js +++ b/src/app.js @@ -104,7 +104,6 @@ class AppBase extends HTMLElement { - diff --git a/src/modules/store.js b/src/modules/store.js index 2cffa98..871c6e1 100644 --- a/src/modules/store.js +++ b/src/modules/store.js @@ -43,6 +43,7 @@ export default class Store { switch (event.type) { case this.constructor.actions.ADD_LINE: + if (!this.state.input) break; this.state = { ...this.state, records: this.state.records.concat({