Delete App.js
This commit is contained in:
parent
a6b7f1edb8
commit
1d6c4195d8
|
@ -1,19 +0,0 @@
|
||||||
import React from "react";
|
|
||||||
import {BrowserRouter as Router ,Route ,Switch} from 'react-router-dom'
|
|
||||||
import Home from './components/home';
|
|
||||||
import Nav from './components/nav'
|
|
||||||
|
|
||||||
function App() {
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
<Router>
|
|
||||||
<Nav></Nav>
|
|
||||||
<Switch>
|
|
||||||
<Route exact path = "/" component = {Home} />
|
|
||||||
</Switch>
|
|
||||||
</Router>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export default App;
|
|
Loading…
Reference in New Issue