diff --git a/src/containers/App.js b/src/containers/App.js new file mode 100644 index 0000000..fe0db0a --- /dev/null +++ b/src/containers/App.js @@ -0,0 +1,9 @@ +import React from 'react'; + +export default class App extends React.Component { + render() { + return ( +
{this.props.children}
+ ); + } +} diff --git a/src/containers/routes.js b/src/containers/routes.js index 1821277..6d61f9c 100644 --- a/src/containers/routes.js +++ b/src/containers/routes.js @@ -1,13 +1,15 @@ import React from "react"; -import {Router, Route} from "react-router"; - -import Main from "./Main"; +import {IndexRoute, Route} from "react-router"; +import App from "./App"; + +import Main from "./Main"; + /** * The React Router 1.0 routes for both the server and the client. */ module.exports = ( - - - -); + + + +);