From 8dfcaa372382f70da5e20d9c8fd65392424e3cfc Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Tue, 13 Feb 2024 21:33:00 +0000
Subject: feature: Add error and not found boundaries in the dashboard

---
 packages/web/app/dashboard/error.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 packages/web/app/dashboard/error.tsx

(limited to 'packages/web/app/dashboard/error.tsx')

diff --git a/packages/web/app/dashboard/error.tsx b/packages/web/app/dashboard/error.tsx
new file mode 100644
index 00000000..2bba0e98
--- /dev/null
+++ b/packages/web/app/dashboard/error.tsx
@@ -0,0 +1,9 @@
+"use client";
+
+export default function Error() {
+    return (
+        <div className="flex size-full">
+            <div className="m-auto text-3xl">Something went wrong</div>
+        </div>
+    );
+}
-- 
cgit v1.2.3-70-g09d2

