From f0741afd211eb99b0e30369057fa41e2bd9d67bc Mon Sep 17 00:00:00 2001 From: Nikola Bjelo Date: Thu, 18 Oct 2018 16:53:10 +0200 Subject: [PATCH] correcting the little routing problem --- client/src/index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/index.js b/client/src/index.js index aa272fd99..a175a5473 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -3,22 +3,21 @@ import { Route, BrowserRouter, Switch } from 'react-router-dom' const Base = () => (

- base website + Base component

) const Added = () => (

- added website + Added component

) class App extends Component { render () { return ( - + -

{window.location.pathname}