mirror of
https://github.com/chinchang/web-maker.git
synced 2025-08-03 03:47:37 +02:00
eslint fixes
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { h, Component } from 'preact';
|
||||
import Split from 'split.js';
|
||||
import { log } from '../utils';
|
||||
|
||||
export class SplitPane extends Component {
|
||||
// shouldComponentUpdate(nextProps, nextState) {
|
||||
@@ -34,7 +33,6 @@ export class SplitPane extends Component {
|
||||
options.onDragStart = this.props.onDragStart;
|
||||
}
|
||||
|
||||
// log('SIZE UPDATTED', ...options);
|
||||
this.splitInstance = Split(
|
||||
this.props.children.map(node => '#' + node.attributes.id),
|
||||
options
|
||||
|
Reference in New Issue
Block a user