diff options
author | 2019-08-01 14:53:12 +0200 | |
---|---|---|
committer | 2019-08-01 14:53:12 +0200 | |
commit | 9dad6538699049b9cc09c06fb309dd362460393c (patch) | |
tree | ba84855446231a50f322fe8de4fdc55d2a2fcedf /src/features/todos | |
parent | Add element to global ignore list for eslint (diff) | |
download | ferdium-app-9dad6538699049b9cc09c06fb309dd362460393c.tar.gz ferdium-app-9dad6538699049b9cc09c06fb309dd362460393c.tar.zst ferdium-app-9dad6538699049b9cc09c06fb309dd362460393c.zip |
Fix minor eslint issue
Diffstat (limited to 'src/features/todos')
-rw-r--r-- | src/features/todos/components/TodosWebview.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/todos/components/TodosWebview.js b/src/features/todos/components/TodosWebview.js index 1f4730094..1657bebd8 100644 --- a/src/features/todos/components/TodosWebview.js +++ b/src/features/todos/components/TodosWebview.js | |||
@@ -146,7 +146,8 @@ class TodosWebview extends Component { | |||
146 | <Webview | 146 | <Webview |
147 | className={classes.webview} | 147 | className={classes.webview} |
148 | onDidAttach={() => { | 148 | onDidAttach={() => { |
149 | this.props.setTodosWebview(this.webview); | 149 | const { setTodosWebview } = this.props; |
150 | setTodosWebview(this.webview); | ||
150 | this.startListeningToIpcMessages(); | 151 | this.startListeningToIpcMessages(); |
151 | }} | 152 | }} |
152 | partition="persist:todos" | 153 | partition="persist:todos" |