ui-kit-ck-consultant 0.5.248 → 0.5.249

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.
@@ -773,17 +773,13 @@ var Table = /*#__PURE__*/function (_React$Component) {
773
773
  }, /*#__PURE__*/React.createElement(Button, {
774
774
  text: "T\xE9l\xE9charger CSV",
775
775
  className: "w-auto ml-auto mb-10",
776
- onClick: function onClick(callback) {
777
- if (callback === void 0) {
778
- callback = function callback() {};
779
- }
780
-
776
+ onClick: function onClick() {
781
777
  if (_this2.props.getAllData) {
782
778
  _this2.props.getAllData(function () {
783
- return _this2.getCSV(callback);
779
+ return _this2.getCSV(_this2.props.csvCallback);
784
780
  });
785
781
  } else {
786
- _this2.getCSV(callback);
782
+ _this2.getCSV(_this2.props.csvCallback);
787
783
  }
788
784
  }
789
785
  })) : null, /*#__PURE__*/React.createElement("table", {