From 8553c589ba3621806ef01f3bca241ad9243fc557 Mon Sep 17 00:00:00 2001 From: Nikos Kontakis Date: Sun, 25 Aug 2024 18:39:54 +0200 Subject: [PATCH] Convert Hashrouter to BrowserRouter (#46) --- src/main.tsx | 6 +++--- src/navigation.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.tsx b/src/main.tsx index 47a66cb..52889b1 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,5 +1,5 @@ import { StrictMode } from 'react' -import { HashRouter } from 'react-router-dom' +import { BrowserRouter } from 'react-router-dom' import { createRoot } from 'react-dom/client' import App from './App.tsx' @@ -11,8 +11,8 @@ const root = createRoot(rootElement) root.render( - + - + , ) diff --git a/src/navigation.tsx b/src/navigation.tsx index 2f3e687..cd47bc7 100644 --- a/src/navigation.tsx +++ b/src/navigation.tsx @@ -44,7 +44,7 @@ export const Navigation = () => { {r.name}