From caee8bb8355c99cea79f34c50de702854d2f1976 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Mon, 29 Jan 2018 12:49:01 -0800 Subject: [PATCH] updated Logo to use Link --- react/components/Logo/index.jsx | 5 +++-- react/index.js | 2 +- react/root.js | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) 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;