Add routing

This commit is contained in:
2025-02-17 21:23:38 +01:00
parent b6c7edecfd
commit 1cbcb8ce4c
11 changed files with 119 additions and 5 deletions
+6 -1
View File
@@ -1,8 +1,13 @@
import { createRoot } from 'react-dom/client';
import { BrowserRouter } from 'react-router';
import App from './App.tsx';
import './index.css';
// TODO: Bring back strict mode when building and deploying
createRoot(document.getElementById('root')).render(<App />);
createRoot(document.getElementById('root')).render(
<BrowserRouter>
<App />
</BrowserRouter>
);