Skip to content

Commit

Permalink
chore: test routing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kyziq committed Jan 12, 2024
1 parent 4bae09d commit 005ae1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import { HashRouter as Router, Routes, Route } from 'react-router-dom';
import { Suspense, lazy } from 'react';
import Navbar from './components/Navbar';
import { Spinner } from '@nextui-org/react';
Expand All @@ -12,7 +12,7 @@ const ErrorPage = lazy(() => import('./pages/Error'));
function App() {
return (
<div className="flex flex-col justify-start items-start min-h-screen bg-gray-100">
<Router basename="/artistry-hub/">
<Router>
<Navbar />

{/* Suspense fallback during lazy loading */}
Expand Down

0 comments on commit 005ae1d

Please sign in to comment.