Add redux, fix routing, add normalize

This commit is contained in:
Melvin Valster
2019-07-29 13:16:07 +02:00
parent 2fcf238446
commit 0bd3034ea7
13 changed files with 353 additions and 82 deletions
+1 -2
View File
@@ -1,5 +1,5 @@
import React from 'react'
import './App.scss'
import React from 'react'
import { BrowserRouter as Router, Route, Switch, Link } from 'react-router-dom'
import Loadable from 'react-loadable'
import { PageLoader } from './components/PageLoader'
@@ -17,7 +17,6 @@ const LoadablePlayground = Loadable({
const App: React.FC = () => {
return (
<Router>
{/* <Router basename={process.env.NODE_ENV !== 'development' ? '%PUBLIC_URL%' : ''}> */}
<div className="App">
<main>
<Switch>