diff --git a/app/components/app.js b/app/index.js similarity index 86% rename from app/components/app.js rename to app/index.js index a04c565..74d9e7c 100644 --- a/app/components/app.js +++ b/app/index.js @@ -1,11 +1,11 @@ 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'; -import token from '../api/token'; -import { checkToken } from '../api/CircleCI'; +import token from './api/token'; +import { checkToken } from './api/CircleCI'; require('moment-duration-format'); @@ -28,7 +28,7 @@ const styles = StyleSheet.create({ } }); -export default class extends React.Component { +export default class App extends React.Component { constructor() { super(); this.state = { diff --git a/index.android.js b/index.android.js index b5dce88..00c4fda 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'; const { AppRegistry, diff --git a/index.ios.js b/index.ios.js index b5dce88..00c4fda 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'; const { AppRegistry,