ywana-core8 0.0.358 → 0.0.359

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": "ywana-core8",
3
- "version": "0.0.358",
3
+ "version": "0.0.359",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -10,8 +10,8 @@ export const UploadDialog = ({ label, target, accept, onSuccess, onComplete, onC
10
10
 
11
11
  const site = useContext(SiteContext);
12
12
 
13
- function success(uploads) {
14
- if (onSuccess) onSuccess(uploads)
13
+ function success(file, message) {
14
+ if (onSuccess) onSuccess(file, message)
15
15
  }
16
16
 
17
17
  function complete(uploads) {