From 8fa973d5474589a0e2bf3d91af5f8c216705a104 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 16 Sep 2016 23:08:32 +0100 Subject: [PATCH] streamline index --- index.android.js | 10 +--------- index.ios.js | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-) 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);