Skip to content

Commit

Permalink
Fixed Routing for GH Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
candiedoperation committed Jun 16, 2024
1 parent d98acca commit f32601b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "./index.css";
import { CssBaseline, ThemeProvider } from '@mui/material'
import AppThemeController from './middleware/AppThemeController'
import WebLandingPage from './integrals/WebLandingPage'
import { BrowserRouter, Route, Routes } from 'react-router-dom'
import { BrowserRouter, HashRouter, Route, Routes } from 'react-router-dom'
import WebProjectsPage from './integrals/WebProjectsPage'
import WebTierPage from './integrals/WebTierPage'
import 'atropos/css'
Expand All @@ -14,7 +14,7 @@ import WebSponsorTiers from "./integrals/WebSponsorTiers.tsx";
const queryClient = new QueryClient();

ReactDOM.createRoot(document.getElementById("root")!).render(
<BrowserRouter>
<HashRouter>
<QueryClientProvider client={queryClient}>
<ThemeProvider theme={AppThemeController.baseTheme}>
<CssBaseline />
Expand All @@ -28,5 +28,5 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
</Routes>
</ThemeProvider>
</QueryClientProvider>
</BrowserRouter>
</HashRouter>
);

0 comments on commit f32601b

Please sign in to comment.