mirror of
https://github.com/chinchang/web-maker.git
synced 2025-08-03 11:57:34 +02:00
upgrade packages for preact x
This commit is contained in:
@@ -38,7 +38,7 @@ export class SplitPane extends Component {
|
||||
options.gutterSize = 6;
|
||||
|
||||
/* eslint-disable new-cap */
|
||||
this.splitInstance = Split([...this.parent.children], options);
|
||||
this.splitInstance = Split(Array.from(this.parent.children), options);
|
||||
|
||||
/* eslint-enable new-cap */
|
||||
|
||||
|
Reference in New Issue
Block a user