fix: auth errors

- Fixes Discord not logging in
- Also shows the login page but with an error message for future errors
This commit is contained in:
trafficlunar 2026-10-24 00:30:01 +01:00
parent f0cf08f2a4
commit b2e1ab2d2f
6 changed files with 64 additions and 46 deletions

View file

@ -23,8 +23,8 @@ import ReportMiiPage from "./pages/report/mii.tsx";
import ReportUserPage from "./pages/report/user.tsx";
import EditMiiPage from "./pages/edit.tsx";
import PunishedPage from "./pages/punished.tsx";
import BreachNoticePage from "./pages/breach-notice.tsx";
import AccountDeletionPage from "./pages/account-deletion.tsx";
import AccountErrorPage from "./pages/account-error.tsx";
createRoot(document.getElementById("root")!).render(
<StrictMode>
@ -50,8 +50,8 @@ createRoot(document.getElementById("root")!).render(
<Route path="/privacy" element={<PrivacyPage />} />
<Route path="/terms-of-service" element={<TermsOfServicePage />} />
<Route path="/punished" element={<PunishedPage />} />
<Route path="/breach-notice" element={<BreachNoticePage />} />
<Route path="/account-deletion" element={<AccountDeletionPage />} />
<Route path="/account-error" element={<AccountErrorPage />} />
<Route path="*" element={<NotFoundPage />} />
</Routes>
</Layout>