diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-04-13 22:31:07 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-04-13 22:31:07 -0400 |
commit | 60af17c095ae6f034dac96ce64bfb5cd76fe603a (patch) | |
tree | 0e6809ef7871c5f6e0587659d07dee2c7c983022 /src/main.jsx | |
parent | 003e957a77ddf0f3207b86ef6b8a2bdc718405ef (diff) |
use goatcounter the right way
Diffstat (limited to 'src/main.jsx')
-rw-r--r-- | src/main.jsx | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/main.jsx b/src/main.jsx index 9af0bb6..8601f97 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -1,10 +1,13 @@ -import React from 'react' -import ReactDOM from 'react-dom/client' -import App from './App' -import './index.css' +import React from "react"; +import { BrowserRouter } from "react-router-dom"; +import ReactDOM from "react-dom/client"; +import App from "./App"; +import "./index.css"; -ReactDOM.createRoot(document.getElementById('root')).render( - <React.StrictMode> - <App /> - </React.StrictMode> -) +ReactDOM.createRoot(document.getElementById("root")).render( + <React.StrictMode> + <BrowserRouter> + <App /> + </BrowserRouter> + </React.StrictMode> +); |