A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
feature: Add error and not found boundaries in the dashboard
MohamedBassem8dfcaa372382
diff --git a/packages/web/app/dashboard/error.tsx b/packages/web/app/dashboard/error.tsxnew file mode 100644index 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>+ );+}diff --git a/packages/web/app/dashboard/not-found.tsx b/packages/web/app/dashboard/not-found.tsxnew file mode 100644index 00000000..abd1ebae--- /dev/null+++ b/packages/web/app/dashboard/not-found.tsx@@ -0,0 +1,7 @@+export default function NotFound() {+ return (+ <div className="flex size-full">+ <div className="m-auto text-3xl">Not Found :(</div>+ </div>+ );+}