From 48cb7d4959a9c528344bb044135d3bbc65b6570c Mon Sep 17 00:00:00 2001 From: 25Pi25 <25pi25@mail.com> Date: Thu, 20 Feb 2025 14:38:42 -0500 Subject: [PATCH 1/2] updated error page --- src/ErrorPage.tsx | 4 ++-- src/index.tsx | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/ErrorPage.tsx b/src/ErrorPage.tsx index 98117c3ed..0f15fed9d 100644 --- a/src/ErrorPage.tsx +++ b/src/ErrorPage.tsx @@ -1,13 +1,13 @@ import { Box, Typography, Link } from '@mui/material'; export default function ErrorPage() { - return + return

Uh Oh!

Looks like the server ran into an error. This typically happens when our sprite server is down, and we'll try to get it back up as soon as possible. - If this problem still occurs, check server uptime at PMDCollab Status. + If this problem still occurs, check our discord for updates.
} \ No newline at end of file diff --git a/src/index.tsx b/src/index.tsx index 6c671b334..ad025b800 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -23,10 +23,17 @@ async function initialize() { const { data } = await client.query({ query: KeysDocument }).catch(() => ({})) as KeysQueryResult; - + const root = ReactDOM.createRoot(document.getElementById("root")!); if (!data) { - root.render(); + root.render( + + + + + + + ); return; } const sortedMonsters = [...data.monster].sort((a, b) => a.id - b.id) From 7ce3afc7bec36db8757246b2d704e36f9a6dd1fc Mon Sep 17 00:00:00 2001 From: 25Pi25 <25pi25@mail.com> Date: Thu, 20 Feb 2025 14:40:26 -0500 Subject: [PATCH 2/2] formatted file --- src/ErrorPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ErrorPage.tsx b/src/ErrorPage.tsx index 0f15fed9d..ffd124924 100644 --- a/src/ErrorPage.tsx +++ b/src/ErrorPage.tsx @@ -1,7 +1,7 @@ import { Box, Typography, Link } from '@mui/material'; export default function ErrorPage() { - return + return

Uh Oh!

Looks like the server ran into an error. This typically happens when our sprite server is down, and we'll try to get it back up as soon as possible.