Removed unused component

This commit is contained in:
Jori Lallo
2017-05-13 16:00:50 -07:00
parent aa93ac9914
commit 94a5a29964
3 changed files with 7 additions and 32 deletions

View File

@ -56,6 +56,12 @@ type Props = {
title={
this.props.titleText ? `${this.props.titleText} - Atlas` : 'Atlas'
}
meta={[
{
name: 'viewport',
content: 'width=device-width, initial-scale=1.0',
},
]}
/>
{this.props.loading && <LoadingIndicator />}

View File

@ -16,8 +16,6 @@ import 'styles/transitions.scss';
import 'styles/hljs-github-gist.scss';
import 'styles/codemirror.scss';
import Application from 'scenes/Application';
import Home from 'scenes/Home';
import Dashboard from 'scenes/Dashboard';
import Atlas from 'scenes/Atlas';
@ -50,7 +48,7 @@ render(
<div style={{ display: 'flex', flex: 1, height: '100%' }}>
<Provider {...stores}>
<Router history={History}>
<Route path="/" component={Application}>
<Route path="/">
<IndexRoute component={Home} />
<Route

View File

@ -1,29 +0,0 @@
// @flow
import React from 'react';
import { observer } from 'mobx-react';
import Helmet from 'react-helmet';
@observer class Application extends React.Component {
static propTypes = {
children: React.PropTypes.node.isRequired,
};
render() {
return (
<div style={{ width: '100%', height: '100%', display: 'flex', flex: 1 }}>
<Helmet
title="Atlas"
meta={[
{
name: 'viewport',
content: 'width=device-width, initial-scale=1.0',
},
]}
/>
{this.props.children}
</div>
);
}
}
export default Application;