mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Fixed lint issues.
This commit is contained in:
parent
50a781d4e3
commit
7a920bd4be
@ -66,11 +66,7 @@ export default class Panel extends React.Component {
|
||||
this.options = options;
|
||||
|
||||
if (options.debounce) {
|
||||
this.emitChange = debounce(
|
||||
this.emitChange,
|
||||
options.debounce.wait,
|
||||
{ leading: options.debounce.leading }
|
||||
);
|
||||
this.emitChange = debounce(this.emitChange, options.debounce.wait, { leading: options.debounce.leading });
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ export default class WrapStory extends React.Component {
|
||||
|
||||
setPaneKnobs(timestamp = +new Date()) {
|
||||
const { channel, knobStore } = this.props;
|
||||
channel.emit('addon:knobs:setKnobs', { knobs: knobStore.getAll(), timestamp});
|
||||
channel.emit('addon:knobs:setKnobs', { knobs: knobStore.getAll(), timestamp });
|
||||
}
|
||||
|
||||
knobChanged(change) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user