From f7487bb26320654f81de431ddb1dcc7203519ef6 Mon Sep 17 00:00:00 2001 From: oliver renwick <7252642+mapachurro@users.noreply.github.com> Date: Wed, 3 Jul 2024 09:44:43 -0400 Subject: [PATCH] Update index.jsx add hash routing --- src/index.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.jsx b/src/index.jsx index 5d29ae1..217cbc3 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -1,13 +1,13 @@ import React from 'react'; import { createRoot } from 'react-dom/client'; -import { BrowserRouter } from 'react-router-dom'; +import { HashRouter } from 'react-router-dom'; import App from './App'; const container = document.getElementById('root'); const root = createRoot(container); root.render( - + - + , );