streamline index
This commit is contained in:
parent
f72b3b0ece
commit
8fa973d547
2 changed files with 2 additions and 18 deletions
|
@ -3,12 +3,4 @@ import { AppRegistry } from 'react-native';
|
||||||
|
|
||||||
import App from './dist/index';
|
import App from './dist/index';
|
||||||
|
|
||||||
class MainApp extends React.Component {
|
AppRegistry.registerComponent('zxcvbn', () => App);
|
||||||
render() {
|
|
||||||
return (
|
|
||||||
<App />
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
AppRegistry.registerComponent('zxcvbn', () => MainApp);
|
|
||||||
|
|
10
index.ios.js
10
index.ios.js
|
@ -3,12 +3,4 @@ import { AppRegistry } from 'react-native';
|
||||||
|
|
||||||
import App from './dist/index';
|
import App from './dist/index';
|
||||||
|
|
||||||
class MainApp extends React.Component {
|
AppRegistry.registerComponent('zxcvbn', () => App);
|
||||||
render() {
|
|
||||||
return (
|
|
||||||
<App />
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
AppRegistry.registerComponent('zxcvbn', () => MainApp);
|
|
||||||
|
|
Reference in a new issue