siam-ui-utils 2.0.21 → 2.0.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "2.0.21",
3
+ "version": "2.0.23",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -1,7 +1,4 @@
1
- /* eslint-disable react/prop-types */
2
- import { useState } from 'react'
3
-
4
- import { Button } from 'reactstrap'
1
+ /* eslint-disable react/prop-types */ import { useState } from 'react'import { Button } from 'reactstrap'
5
2
 
6
3
  import { getDroppedOrSelectedFiles } from 'html5-file-selector'
7
4
  import Dropzone from 'react-dropzone-uploader'
@@ -105,7 +102,7 @@ export const DropzoneUploaderDniDigital = ({
105
102
  }
106
103
 
107
104
  const Input = ({ accept, onFiles, getFilesFromEvent }) => {
108
- const text = totalFiles > 0 ? `${2 - totalFiles} archivos más` : { label }
105
+ const text = totalFiles > 0 ? `${2 - totalFiles} archivos más` : `${label}`
109
106
  return (
110
107
  <>
111
108
  <Button