Removed unused component
This commit is contained in:
@ -56,6 +56,12 @@ type Props = {
|
|||||||
title={
|
title={
|
||||||
this.props.titleText ? `${this.props.titleText} - Atlas` : 'Atlas'
|
this.props.titleText ? `${this.props.titleText} - Atlas` : 'Atlas'
|
||||||
}
|
}
|
||||||
|
meta={[
|
||||||
|
{
|
||||||
|
name: 'viewport',
|
||||||
|
content: 'width=device-width, initial-scale=1.0',
|
||||||
|
},
|
||||||
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{this.props.loading && <LoadingIndicator />}
|
{this.props.loading && <LoadingIndicator />}
|
||||||
|
@ -16,8 +16,6 @@ import 'styles/transitions.scss';
|
|||||||
import 'styles/hljs-github-gist.scss';
|
import 'styles/hljs-github-gist.scss';
|
||||||
import 'styles/codemirror.scss';
|
import 'styles/codemirror.scss';
|
||||||
|
|
||||||
import Application from 'scenes/Application';
|
|
||||||
|
|
||||||
import Home from 'scenes/Home';
|
import Home from 'scenes/Home';
|
||||||
import Dashboard from 'scenes/Dashboard';
|
import Dashboard from 'scenes/Dashboard';
|
||||||
import Atlas from 'scenes/Atlas';
|
import Atlas from 'scenes/Atlas';
|
||||||
@ -50,7 +48,7 @@ render(
|
|||||||
<div style={{ display: 'flex', flex: 1, height: '100%' }}>
|
<div style={{ display: 'flex', flex: 1, height: '100%' }}>
|
||||||
<Provider {...stores}>
|
<Provider {...stores}>
|
||||||
<Router history={History}>
|
<Router history={History}>
|
||||||
<Route path="/" component={Application}>
|
<Route path="/">
|
||||||
<IndexRoute component={Home} />
|
<IndexRoute component={Home} />
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
|
@ -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;
|
|
Reference in New Issue
Block a user