forked from pinks/eris
1
0
Fork 0

ui/App.tsx aktualisiert

Add DisclaimerPage to Routing
This commit is contained in:
Akiru 2024-01-27 14:43:27 +00:00
parent 2ae1f3b9f1
commit 14e2e71ee1
1 changed files with 3 additions and 1 deletions

View File

@ -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,8 +40,9 @@ 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>
</>
);
}
}