From f4f540ae2f645d850a86dc8aa2a60ee6185d7f43 Mon Sep 17 00:00:00 2001 From: eshanized Date: Mon, 23 Dec 2024 05:26:35 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(=5Froute):=20browser=20route?= =?UTF-8?q?=20=3D>=20hash=20router?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 93f9ba0e..3dbd5ab3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; +import { HashRouter as Router, Routes, Route } from 'react-router-dom'; import { Layout } from './components/layout/Layout'; import { Home } from './pages/Home'; import { About } from './pages/About'; @@ -23,4 +23,4 @@ function App() { ); } -export default App; \ No newline at end of file +export default App;