aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/+error.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 23:23:32 -0800
committerAdam Soltys <[email protected]>2026-02-11 23:23:32 -0800
commit13f9ef7f26fff64c2bd54c8f9aa14e6ffac67121 (patch)
tree076cd631b671ff5ab74dee08c775c20c192ac659 /src/routes/(app)/+error.svelte
parent2e61e8abbc318c36969cb5add0c63df81135b4ab (diff)
downloadcoinos-ui-13f9ef7f26fff64c2bd54c8f9aa14e6ffac67121.tar.gz
coinos-ui-13f9ef7f26fff64c2bd54c8f9aa14e6ffac67121.zip
fix svelte errors
Diffstat (limited to 'src/routes/(app)/+error.svelte')
-rw-r--r--src/routes/(app)/+error.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/+error.svelte b/src/routes/(app)/+error.svelte
index 0e31333c..d94eed63 100644
--- a/src/routes/(app)/+error.svelte
+++ b/src/routes/(app)/+error.svelte
@@ -9,7 +9,7 @@
<div class="container px-4 max-w-xl mx-auto mt-10 space-y-5">
<div class="w-full flex">
- <a href="/" class="mx-auto">
+ <a href="/" class="mx-auto" aria-label="Go to homepage">
<iconify-icon noobserver icon="coinos:logo" width="224"></iconify-icon>
</a>
</div>
@@ -20,7 +20,7 @@
<h1 class="text-2xl md:text-3xl font-semibold text-center">Error</h1>
</div>
<p class="text-secondary text-center">Something went wrong</p>
- <p class="text-secondary text-center">{$page.error.message}</p>
+ <p class="text-secondary text-center">{$page.error?.message}</p>
<div class="flex justify-center py-24">
<a href={link}>