1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 10:51:38 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Fix example setState

This commit is contained in:
sunnylqm
2020-09-16 14:42:45 +08:00
parent 95ba5f364b
commit 5a2ebf8df7

View File

@@ -59,7 +59,7 @@ export default class App extends Component {
try {
const hash = await downloadUpdate(info, {
onDownloadProgress: ({received, total}) => {
setState({
this.setState({
received,
total,
});