Commit 0c0722f
committed
fix(view.js): fix crash on style.delete() when
When `interactive` prop is set to `false`, `this.style` remains null, but component's
`componentWillUnmount` method still tries to delete and crash.interactive prop is set to false
1 parent 5ff3d53 commit 0c0722f
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
431 | 434 | | |
432 | 435 | | |
433 | | - | |
434 | 436 | | |
435 | 437 | | |
436 | 438 | | |
| |||
0 commit comments