Skip to content

Commit

Permalink
Make /Datenschutz work #363
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianK13 committed Jan 17, 2025
1 parent 30282d6 commit 5d884ab
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,20 @@ window.isTouchDevice = isTouchDevice()

// See https://reactjs.org/docs/strict-mode.html
const StrictApp = () => (
<Provider value={defaultSystem}>
<React.StrictMode>
<BrowserRouter basename={PUBLIC_URL}>
<Suspense fallback={<Main />}>
<Routes>
<Route path='/' element={<Map />} />
<Route path='/simulation/:lon/:lat' element={<Simulation />} />
<Route path='/anleitung' element={<About />} />
<Route path='/about' element={<About />} />
<Route path='/impressum' element={<Impressum />} />
<Route path='/datenschutz' element={<Datenschutz />} />
<Route path='*' element={<NotFound />} />
</Routes>
</Suspense>
</BrowserRouter>
</React.StrictMode>
<Provider>
<BrowserRouter basename={PUBLIC_URL}>
<Suspense fallback={<Main />}>
<Routes>
<Route path='/' element={<Map />} />
<Route path='/simulation/:lon/:lat' element={<Simulation />} />
<Route path='/anleitung' element={<About />} />
<Route path='/about' element={<About />} />
<Route path='/impressum' element={<Impressum />} />
<Route path='/datenschutz' element={<Datenschutz />} />
<Route path='*' element={<NotFound />} />
</Routes>
</Suspense>
</BrowserRouter>
</Provider>
)

Expand Down

0 comments on commit 5d884ab

Please sign in to comment.