Use AwesomeProject instead of SampleApp in the final tutorial code

This commit is contained in:
Krzysztof Magiera 2015-03-26 08:52:15 -07:00
parent 676708c049
commit 8b8d5fd19b
1 changed files with 2 additions and 2 deletions

View File

@ -384,7 +384,7 @@ var PAGE_SIZE = 25;
var PARAMS = '?apikey=' + API_KEY + '&page_limit=' + PAGE_SIZE;
var REQUEST_URL = API_URL + PARAMS;
var SampleApp = React.createClass({
var AwesomeProject = React.createClass({
getInitialState: function() {
return {
dataSource: new ListView.DataSource({
@ -475,5 +475,5 @@ var styles = StyleSheet.create({
},
});
AppRegistry.registerComponent('SampleApp', () => SampleApp);
AppRegistry.registerComponent('AwesomeProject', () => AwesomeProject);
```