@transferwise/components 0.0.0-experimental-b2eafa7 → 0.0.0-experimental-8a88948

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/build/index.js CHANGED
@@ -9913,7 +9913,6 @@ const PromoCard = /*#__PURE__*/React.forwardRef(({
9913
9913
  setChecked(!checked); // Update local state for checkbox
9914
9914
  }
9915
9915
  };
9916
-
9917
9916
  const componentId = `${id || generateRandomId()}`;
9918
9917
  // Set the icon to `'arrow'` if `href` is truthy and `type` is falsy, or
9919
9918
  // `'download'` if `download` is truthy. If neither condition is true, set
@@ -13964,7 +13963,6 @@ const UploadButton = ({
13964
13963
  if (areAllFilesAllowed) {
13965
13964
  return null; //file input by default allows all files
13966
13965
  }
13967
-
13968
13966
  if (Array.isArray(fileTypes)) {
13969
13967
  return {
13970
13968
  accept: fileTypes.join(',')
@@ -14162,7 +14160,6 @@ const UploadItem = ({
14162
14160
  children: processIndicator
14163
14161
  }); // Scale down ProcessIndicator to be 20px*20px to match `icons`
14164
14162
  };
14165
-
14166
14163
  const getErrorMessage = () => typeof error === 'object' && error.message || error || formatMessage(MESSAGES.uploadingFailed);
14167
14164
  const getDescription = () => {
14168
14165
  if (error || status === exports.Status.FAILED) {