diff --git a/src/App.js b/src/App.js index 12ea2b4..5b6db7e 100644 --- a/src/App.js +++ b/src/App.js @@ -1,5 +1,6 @@ import { FirebaseConfig } from "./config/Config"; import { initializeApp } from "firebase/app"; +import {Routes, Route} from "react-router-dom"; import "react-bootstrap/Container" import "react-bootstrap/Navbar" @@ -22,7 +23,7 @@ function App() { -

React App

+ ); } diff --git a/src/index.js b/src/index.js index 286e81b..2c6cf99 100644 --- a/src/index.js +++ b/src/index.js @@ -4,11 +4,14 @@ import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; import '../node_modules/bootstrap/dist/css/bootstrap.min.css'; +import { BrowserRouter } from 'react-router-dom'; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( + + );