diff --git a/apps/www/app/(dashboard)/(workspaceId)/error.tsx b/apps/www/app/(dashboard)/(workspaceId)/error.tsx new file mode 100644 index 00000000..0ffed3e0 --- /dev/null +++ b/apps/www/app/(dashboard)/(workspaceId)/error.tsx @@ -0,0 +1,29 @@ +"use client"; + +// Error components must be Client Components +import { useEffect } from "react"; + +import { cn } from "@/lib/utils"; +import { buttonVariants } from "@/components/ui/button"; + +export default function Error({ + error, + reset, +}: { + error: Error & { digest?: string }; + reset: () => void; +}) { + return ( +
+

Something went wrong!

+
We will look into this and resolve it as soon as possible
+ +
+ ); +} diff --git a/apps/www/components/dashboard/feautressection.tsx b/apps/www/components/dashboard/feautressection.tsx index 97cbacfd..5e5ce6be 100644 --- a/apps/www/components/dashboard/feautressection.tsx +++ b/apps/www/components/dashboard/feautressection.tsx @@ -81,7 +81,7 @@ export default function Featuressection() {