forked from pinks/eris
1
0
Fork 0

Added TOS and Disclaimer #2

Merged
Akiru merged 3 commits from disclaimer into main 2024-01-27 14:50:09 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 14e2e71ee1 - Show all commits

View File

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