ywana-core8 0.0.168 → 0.0.169

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -4241,11 +4241,12 @@
4241
4241
  function renderActions() {
4242
4242
  return actions.map(function (element) {
4243
4243
  var action = function action() {
4244
- return element.props.action(pageContext, "a");
4244
+ return element.props.action(pageContext);
4245
4245
  };
4246
4246
 
4247
- var clone = React__default["default"].cloneElement(element, [action]);
4248
- console.log("renderActions", clone);
4247
+ var clone = React__default["default"].cloneElement(element, {
4248
+ action: action
4249
+ });
4249
4250
  return clone;
4250
4251
  });
4251
4252
  }