Update ServerCounter.plugin.js
This commit is contained in:
parent
2aa43255d9
commit
adb02f76f2
|
@ -87,7 +87,7 @@ module.exports = (_ => {
|
||||||
let childrenRender = tree.props.children;
|
let childrenRender = tree.props.children;
|
||||||
tree.props.children = (...args) => {
|
tree.props.children = (...args) => {
|
||||||
let children = childrenRender(...args);
|
let children = childrenRender(...args);
|
||||||
this.checkTree(children);
|
this.injectCounter(children);
|
||||||
return children;
|
return children;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue