Remove history.js

This commit is contained in:
Camerin 2021-09-19 21:30:21 -04:00
parent 3331b3a4bc
commit 647a222fca
2 changed files with 1 additions and 5 deletions

View File

@ -1,14 +1,13 @@
import React from 'react'; import React from 'react';
import { BrowserRouter, Route, Switch } from 'react-router-dom'; import { BrowserRouter, Route, Switch } from 'react-router-dom';
import Navigation from './Navigation'; import Navigation from './Navigation';
import history from '../history';
import Home from './Home'; import Home from './Home';
import Github from './Github'; import Github from './Github';
const App = (props) => { const App = (props) => {
return ( return (
<div className="App"> <div className="App">
<BrowserRouter history={history}> <BrowserRouter>
<div> <div>
<Navigation /> <Navigation />
<Switch> <Switch>

View File

@ -1,3 +0,0 @@
import { createBrowserHistory } from 'history';
export default createBrowserHistory();