mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-16 00:05:56 +08:00
Removes underscore on this.channel
This commit is contained in:
parent
52de8a1e62
commit
c8086e7e03
@ -120,7 +120,7 @@ export default class KnobManager {
|
||||
// unused knobs from the panel. This function sends the `setKnobs` message to the channel
|
||||
// triggering a panel re-render.
|
||||
|
||||
if (!_this.channel) {
|
||||
if (!this.channel) {
|
||||
// to prevent call to undefined channel and therefore throwing TypeError
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user