From eccbdf4a79b1cedb19e1f7427ddf9eecd3d6f128 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 28 Apr 2016 16:09:45 +0100 Subject: [PATCH] Move main file out of components --- app/{components/app.js => index.js} | 6 +++--- index.android.js | 2 +- index.ios.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename app/{components/app.js => index.js} (89%) diff --git a/app/components/app.js b/app/index.js similarity index 89% rename from app/components/app.js rename to app/index.js index 24dd7e4..3e6bbf6 100644 --- a/app/components/app.js +++ b/app/index.js @@ -1,8 +1,8 @@ import React from 'react-native'; -import RouteMaster from './routes/RouteMaster'; -import RouteMapper from './navigation/RouteMapper'; -import GlobalStyles from '../settings/styles'; +import RouteMaster from './components/routes/RouteMaster'; +import RouteMapper from './components/navigation/RouteMapper'; +import GlobalStyles from './settings/styles'; import BusyIndicator from 'react-native-busy-indicator'; require('moment-duration-format'); diff --git a/index.android.js b/index.android.js index b5dce88..2ab3895 100644 --- a/index.android.js +++ b/index.android.js @@ -1,5 +1,5 @@ import React from 'react-native'; -import App from './app/components/app.js'; +import App from './app/index.js'; const { AppRegistry, diff --git a/index.ios.js b/index.ios.js index b5dce88..2ab3895 100644 --- a/index.ios.js +++ b/index.ios.js @@ -1,5 +1,5 @@ import React from 'react-native'; -import App from './app/components/app.js'; +import App from './app/index.js'; const { AppRegistry,