diff --git a/src/components/app.jsx b/src/components/app.jsx index ddb4917..5322e5e 100644 --- a/src/components/app.jsx +++ b/src/components/app.jsx @@ -28,7 +28,7 @@ import { import routes from '../js/routes'; import store from '../js/store'; -export default class MyApp extends React.Component { +class MyApp extends React.Component { f7params = { name: 'Know Where You Go', // App name @@ -65,4 +65,6 @@ export default class MyApp extends React.Component { ) } -} \ No newline at end of file +} + +export default MyApp; \ No newline at end of file diff --git a/src/js/routes.js b/src/js/routes.js index e20ede4..b691f82 100644 --- a/src/js/routes.js +++ b/src/js/routes.js @@ -1,10 +1,10 @@ -import HomePage from '../pages/home.jsx'; +import Home from '../pages/home.jsx'; var routes = [ { path: '/', - component: HomePage, + component: Home, }, ]; diff --git a/src/pages/home.jsx b/src/pages/home.jsx index 4657fb8..6c7e502 100644 --- a/src/pages/home.jsx +++ b/src/pages/home.jsx @@ -17,7 +17,7 @@ import { Button } from 'framework7-react'; -export default class HomePage extends React.Component { +class Home extends React.Component { render() { return ( @@ -38,3 +38,5 @@ export default class HomePage extends React.Component { ) } } + +export default Home; \ No newline at end of file