parent
2ae1f3b9f1
commit
14e2e71ee1
|
@ -8,6 +8,7 @@ import { StatsPage } from "./StatsPage.tsx";
|
|||
import { WorkersPage } from "./WorkersPage.tsx";
|
||||
import { fetchApi, handleResponse } from "./apiClient.ts";
|
||||
import { useLocalStorage } from "./useLocalStorage.ts";
|
||||
import { DisclaimerPage } from "./DisclaimerPage";
|
||||
|
||||
export function App() {
|
||||
// store session ID in the local storage
|
||||
|
@ -39,6 +40,7 @@ export function App() {
|
|||
<Route path="/workers" element={<WorkersPage sessionId={sessionId} />} />
|
||||
<Route path="/queue" element={<QueuePage />} />
|
||||
<Route path="/settings" element={<SettingsPage sessionId={sessionId} />} />
|
||||
<Route path="/disclaimer" element={<DisclaimerPage />} />
|
||||
</Routes>
|
||||
</div>
|
||||
</>
|
||||
|
|
Loading…
Reference in New Issue