diff --git a/src/App.js b/src/App.js index 7e1ce33..974026a 100644 --- a/src/App.js +++ b/src/App.js @@ -1,19 +1,14 @@ import './App.scss'; import 'bootstrap/dist/css/bootstrap.min.css'; -import { Routes , Route } from 'react-router-dom'; import Header from './components/Navbar'; import Home from './pages/Home'; -import Contact from './pages/Contact'; function App() { return (
- - } /> - } /> - +
); } diff --git a/src/components/Navbar/index.jsx b/src/components/Navbar/index.jsx index d67d722..39c483b 100644 --- a/src/components/Navbar/index.jsx +++ b/src/components/Navbar/index.jsx @@ -1,7 +1,6 @@ import Container from 'react-bootstrap/Container'; import Nav from 'react-bootstrap/Nav'; import Navbar from 'react-bootstrap/Navbar'; -import { Link } from "react-router-dom" const Header = () => { @@ -11,8 +10,8 @@ const Header = () => { React Boostrap diff --git a/src/index.js b/src/index.js index 0afeba2..9973453 100644 --- a/src/index.js +++ b/src/index.js @@ -3,17 +3,14 @@ import ReactDOM from 'react-dom/client'; import './index.scss'; import App from './App'; import reportWebVitals from './reportWebVitals'; -import { HashRouter } from "react-router-dom" import CoinListProvider from './context/CoinListContext'; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( - - - - - + + + );