Skip to content

Commit 37137a4

Browse files
committed
Remove HashRouter
1 parent 52f769d commit 37137a4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/App.jsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import React, { useState, useEffect } from 'react';
1+
import { useState, useEffect } from 'react';
22
import { signInAnonymously, onAuthStateChanged } from 'firebase/auth';
3-
import { ArrowRight } from 'lucide-react';
4-
import { HashRouter, Routes, Route } from 'react-router-dom';
3+
import { BrowserRouter, Routes, Route } from 'react-router-dom';
54

65
// Firebase & Config
76
import { auth } from './config/firebase';
@@ -216,7 +215,7 @@ export default function AdidasVibesApp() {
216215
}, []);
217216

218217
return (
219-
<HashRouter>
218+
<BrowserRouter>
220219
<div className="min-h-screen font-sans text-gray-900 overflow-hidden selection:bg-[#a3e635] selection:text-[#1d248a] relative bg-[#4338ca]">
221220

222221
<div className="fixed inset-0 four-point-gradient"></div>
@@ -296,6 +295,6 @@ export default function AdidasVibesApp() {
296295
</Routes>
297296

298297
</div>
299-
</HashRouter>
298+
</BrowserRouter>
300299
);
301300
}

0 commit comments

Comments
 (0)