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.
@@ -4237,11 +4237,12 @@ var TablePage = function TablePage(props) {
4237
4237
  function renderActions() {
4238
4238
  return actions.map(function (element) {
4239
4239
  var action = function action() {
4240
- return element.props.action(pageContext, "a");
4240
+ return element.props.action(pageContext);
4241
4241
  };
4242
4242
 
4243
- var clone = React.cloneElement(element, [action]);
4244
- console.log("renderActions", clone);
4243
+ var clone = React.cloneElement(element, {
4244
+ action: action
4245
+ });
4245
4246
  return clone;
4246
4247
  });
4247
4248
  }