diff --git a/packages/apps/src/app/error.tsx b/packages/apps/src/app/error.tsx new file mode 100644 index 000000000..43b442d12 --- /dev/null +++ b/packages/apps/src/app/error.tsx @@ -0,0 +1,21 @@ +"use client"; + +import { useEffect } from "react"; + +export default function Error({ error, reset }: { error: Error; reset: () => void }) { + useEffect(() => { + console.error(error); + }, [error]); + + return ( +
+

Oops, something went wrong !

+ +
+ ); +}