1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-31 21:33:12 +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 { try {
const hash = await downloadUpdate(info, { const hash = await downloadUpdate(info, {
onDownloadProgress: ({received, total}) => { onDownloadProgress: ({received, total}) => {
setState({ this.setState({
received, received,
total, total,
}); });