fix: App name shouldn't be equal to the registered application (#2393)

This commit is contained in:
Tadas Talaikis 2019-08-02 17:10:23 +03:00 committed by Sibelius Seraphini
parent c748b4eccc
commit a01187d0b6

View File

@ -82,7 +82,7 @@ const styles = StyleSheet.create({
},
});
AppRegistry.registerComponent('ExampleApp', () => ExampleApp);
AppRegistry.registerComponent('App', () => ExampleApp);
```
## FaCC (Function as Child Components)
@ -174,7 +174,7 @@ const styles = StyleSheet.create({
},
});
AppRegistry.registerComponent('ExampleApp', () => ExampleApp);
AppRegistry.registerComponent('App', () => ExampleApp);
```
### `camera`