diff --git a/src/routes.tsx b/src/routes.tsx index e0fb1bca..d7768d14 100644 --- a/src/routes.tsx +++ b/src/routes.tsx @@ -1,8 +1,7 @@ -import { HashRouter, Routes, Route } from 'react-router-dom'; +import { Routes, Route } from 'react-router-dom'; import { Suspense, lazy } from 'react'; import { Loader2 } from 'lucide-react'; -// Lazy load your pages const HomePage = lazy(() => import('./pages/Home')); const AboutPage = lazy(() => import('./pages/About')); const FeaturesPage = lazy(() => import('./pages/Features')); @@ -11,7 +10,6 @@ const DevelopersPage = lazy(() => import('./pages/Developers')); const DonatePage = lazy(() => import('./pages/Donate')); const GalleryPage = lazy(() => import('./pages/Gallery')); -// Loading spinner component function LoadingSpinner() { return (
@@ -20,21 +18,18 @@ function LoadingSpinner() { ); } -// AppRoutes component with HashRouter export function AppRoutes() { return ( - - }> - - } /> - } /> - } /> - } /> - } /> - } /> - } /> - - - + }> + + } /> + } /> + } /> + } /> + } /> + } /> + } /> + + ); -} +} \ No newline at end of file