Move main app file out of components

This commit is contained in:
Jake Howard 2016-05-05 21:04:50 +01:00
parent 84806baece
commit 7cdfc8e11f
3 changed files with 8 additions and 8 deletions

View file

@ -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 = {

View file

@ -1,5 +1,5 @@
import React from 'react-native';
import App from './app/components/app.js';
import App from './app';
const {
AppRegistry,

View file

@ -1,5 +1,5 @@
import React from 'react-native';
import App from './app/components/app.js';
import App from './app';
const {
AppRegistry,