react-images-upload
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -137,5 +137,3 @@ 'use strict'; | ||
_this2.setState({ pictures: dataURLs, files: files }, function () { | ||
_this2.props.onChange(_this2.state.files, _this2.state.pictures); | ||
}); | ||
_this2.setState({ pictures: dataURLs, files: files }); | ||
}); | ||
@@ -142,0 +140,0 @@ } |
@@ -90,5 +90,3 @@ import React from 'react'; | ||
this.setState({pictures: dataURLs, files: files}, () => { | ||
this.props.onChange(this.state.files, this.state.pictures); | ||
}); | ||
this.setState({pictures: dataURLs, files: files}); | ||
}); | ||
@@ -95,0 +93,0 @@ } |
{ | ||
"name": "react-images-upload", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "main": "compiled.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29307
7
759