diff options
Diffstat (limited to 'src/features/todos/components')
-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" |