siam-ui-utils 2.0.22 → 2.0.24

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