From 953a88891be2e05294e04f6463a91a901756a1de Mon Sep 17 00:00:00 2001 From: eshanized Date: Fri, 27 Dec 2024 22:35:58 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(router):=20browser=20router?= =?UTF-8?q?=20exchange=20with=20hash=20router?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 54a35385..02701df7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,4 @@ -import { BrowserRouter as Router } from 'react-router-dom'; +import { HashRouter as Router } from 'react-router-dom'; // Use HashRouter import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { ErrorBoundary } from './components/ui/ErrorBoundary'; import { Navbar } from './components/layout/Navbar'; @@ -18,7 +18,7 @@ function App() { return ( - + {/* Using HashRouter */}
@@ -32,4 +32,4 @@ function App() { ); } -export default App; \ No newline at end of file +export default App;