Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kiksun committed Dec 11, 2019
1 parent 536b66f commit f214f28
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions p2hacks/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Route, Switch } from 'react-router'
import PropTypes from 'prop-types'
import { ConnectedRouter } from 'connected-react-router'
import Confirm from './components/Confirm'
import React from 'react';
import Home from './components/Home';
import './App.css';
import End from './components/End';
Expand All @@ -13,10 +12,10 @@ const App = ({ history }) => {
<ConnectedRouter history={history}>
<div>
<Switch>
<Route exact path="/" component={Home} />
<Route exact path="/Home" component={Home} />
<Route exact path="/Confirm" component={Confirm} />
<Route exact path="/End" component={End} />
<Route exact path="/" component={Home} />
<Route exact path="/Home" component={Home} />
<Route exact path="/Confirm" component={Confirm} />
<Route exact path="/End" component={End} />
</Switch>
</div>
</ConnectedRouter>
Expand Down

0 comments on commit f214f28

Please sign in to comment.