diff options
Diffstat (limited to 'client/src/main.jsx')
-rw-r--r-- | client/src/main.jsx | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/client/src/main.jsx b/client/src/main.jsx index 54b39dd..6c2299f 100644 --- a/client/src/main.jsx +++ b/client/src/main.jsx @@ -1,10 +1,13 @@ -import React from 'react' -import ReactDOM from 'react-dom/client' -import App from './App.jsx' -import './index.css' +import React from "react"; +import ReactDOM from "react-dom/client"; +import { BrowserRouter as Router } from "react-router-dom"; +import App from "./App.jsx"; +import "./index.css"; -ReactDOM.createRoot(document.getElementById('root')).render( +ReactDOM.createRoot(document.getElementById("root")).render( <React.StrictMode> - <App /> - </React.StrictMode>, -) + <Router> + <App /> + </Router> + </React.StrictMode> +); |