diff --git a/react/components/Logo/index.jsx b/react/components/Logo/index.jsx index 7bc4dd36..e4b0149e 100644 --- a/react/components/Logo/index.jsx +++ b/react/components/Logo/index.jsx @@ -1,9 +1,10 @@ import React from 'react'; +import { Link } from 'react-router-dom'; function Logo () { return ( - + Logo Spee.ch logo @@ -20,7 +21,7 @@ function Logo () { - + ); }; diff --git a/react/index.js b/react/index.js index bb43f082..46be33c4 100644 --- a/react/index.js +++ b/react/index.js @@ -12,4 +12,4 @@ let store = createStore( render( , document.getElementById('react-app') -) +); diff --git a/react/root.js b/react/root.js index 0863c664..22192d73 100644 --- a/react/root.js +++ b/react/root.js @@ -17,10 +17,10 @@ const Root = ({ store }) => ( -) +); Root.propTypes = { store: PropTypes.object.isRequired, -} +}; export default Root;