mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 23:59:42 +08:00
conforming to coding guidelines 2
This commit is contained in:
@@ -22,9 +22,9 @@ var HybridMobileDeployCompanion = React.createClass({
|
||||
this.fetchData();
|
||||
},
|
||||
fetchData: function() {
|
||||
HybridMobileDeploy.queryUpdate((err, update) => {
|
||||
this.setState({ update: update, updateString: JSON.stringify(update) });
|
||||
});
|
||||
HybridMobileDeploy.queryUpdate((err, update) => {
|
||||
this.setState({ update: update, updateString: JSON.stringify(update) });
|
||||
});
|
||||
},
|
||||
getInitialState: function() {
|
||||
return { update: false, updateString: "" };
|
||||
|
||||
Reference in New Issue
Block a user