From 52e4d5e9e9f8be3ca807fb72ab91c55318cac74e Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sat, 26 Feb 2022 15:29:18 +0200 Subject: [PATCH] Fix message: null on error page --- app/root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/root.tsx b/app/root.tsx index 09d47c423..be23290ff 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -86,7 +86,7 @@ export function ErrorBoundary({ error }: { error: Error }) {

Error happened: {message}

- {data && data.length > 0 &&

Message: {data}

} + {data && data.length > 0 && data !== "null" &&

Message: {data}

}

If you need help or want to report the error so that it can be fixed