From bce557cc2dc767628bed6aac87301a1be7c5431b Mon Sep 17 00:00:00 2001
From: rxliuli <rxliuli@gmail.com>
Date: Tue, 4 Nov 2025 05:03:50 +0800
Subject: init commit

---
 src/components/Error.svelte | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 src/components/Error.svelte

(limited to 'src/components/Error.svelte')

diff --git a/src/components/Error.svelte b/src/components/Error.svelte
new file mode 100644
index 0000000..a0aeba1
--- /dev/null
+++ b/src/components/Error.svelte
@@ -0,0 +1,10 @@
+<script lang="ts">
+    import ErrorPage from '@amp/web-app-components/src/components/Error/ErrorPage.svelte';
+    import { getI18n } from '~/stores/i18n';
+
+    export let error: Error;
+
+    const i18n = getI18n();
+</script>
+
+<ErrorPage translateFn={$i18n.t} {error} />
-- 
cgit v1.2.3

