From 47b33fd653c5acdae4c6fb6cfb6fea48b276216d Mon Sep 17 00:00:00 2001 From: R Date: Mon, 4 Dec 2023 19:56:41 +0200 Subject: [PATCH] potential fix for GP not supporting SPA --- src/main.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main.jsx b/src/main.jsx index 5258724..6859bb3 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -1,7 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import App from './App.jsx'; -import { BrowserRouter } from 'react-router-dom'; +import { HashRouter } from 'react-router-dom'; import './index.css'; import { ToastContainer } from 'react-toastify'; import 'react-toastify/dist/ReactToastify.css'; @@ -10,11 +10,10 @@ import './i18n.js'; ReactDOM.createRoot(document.getElementById('root')).render( - + - + , ); -// deployment \ No newline at end of file