fix: App name shouldn't be equal to the registered application (#2393)
This commit is contained in:
parent
c748b4eccc
commit
a01187d0b6
@ -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`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user