archive
/
Sphere
Archived
1
Fork 0

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 React from 'react-native';
import RouteMaster from './routes/RouteMaster'; import RouteMaster from './components/routes/RouteMaster';
import RouteMapper from './navigation/RouteMapper'; import RouteMapper from './components/navigation/RouteMapper';
import GlobalStyles from '../settings/styles'; import GlobalStyles from './settings/styles';
import BusyIndicator from 'react-native-busy-indicator'; import BusyIndicator from 'react-native-busy-indicator';
import token from '../api/token'; import token from './api/token';
import { checkToken } from '../api/CircleCI'; import { checkToken } from './api/CircleCI';
require('moment-duration-format'); 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() { constructor() {
super(); super();
this.state = { this.state = {

View File

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

View File

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