diff --git a/index.android.js b/index.android.js index a25af12..9c4856c 100644 --- a/index.android.js +++ b/index.android.js @@ -3,12 +3,4 @@ import { AppRegistry } from 'react-native'; import App from './dist/index'; -class MainApp extends React.Component { - render() { - return ( - - ); - } -} - -AppRegistry.registerComponent('zxcvbn', () => MainApp); +AppRegistry.registerComponent('zxcvbn', () => App); diff --git a/index.ios.js b/index.ios.js index a25af12..9c4856c 100644 --- a/index.ios.js +++ b/index.ios.js @@ -3,12 +3,4 @@ import { AppRegistry } from 'react-native'; import App from './dist/index'; -class MainApp extends React.Component { - render() { - return ( - - ); - } -} - -AppRegistry.registerComponent('zxcvbn', () => MainApp); +AppRegistry.registerComponent('zxcvbn', () => App);