ywana-core8 0.0.420 → 0.0.421

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.cjs CHANGED
@@ -1908,8 +1908,6 @@ var TokenField = function TokenField(_ref) {
1908
1908
  value = _useState[0],
1909
1909
  setValue = _useState[1];
1910
1910
 
1911
- React.useState(false);
1912
-
1913
1911
  function remove(index) {
1914
1912
  var next = tokens.slice();
1915
1913
  next.splice(index, 1);
@@ -3467,7 +3465,8 @@ var UploadDialog = function UploadDialog(_ref) {
3467
3465
  accept = _ref.accept,
3468
3466
  onSuccess = _ref.onSuccess,
3469
3467
  onComplete = _ref.onComplete,
3470
- onClose = _ref.onClose;
3468
+ onClose = _ref.onClose,
3469
+ children = _ref.children;
3471
3470
  var site = React.useContext(SiteContext);
3472
3471
 
3473
3472
  function success(file, message) {
@@ -3505,7 +3504,7 @@ var UploadDialog = function UploadDialog(_ref) {
3505
3504
  target: target,
3506
3505
  onSuccess: success,
3507
3506
  onComplete: complete
3508
- }));
3507
+ }), children);
3509
3508
  };
3510
3509
 
3511
3510
  /**