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