From ecfc7857b5715b4995581feb06d10d7528493cb5 Mon Sep 17 00:00:00 2001 From: Michael Peter Date: Wed, 1 Nov 2023 14:00:20 -0400 Subject: [PATCH] prevent error flash on load --- apps/web/pages/[[...root]].tsx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/apps/web/pages/[[...root]].tsx b/apps/web/pages/[[...root]].tsx index 08ee90f5..bd6f1252 100644 --- a/apps/web/pages/[[...root]].tsx +++ b/apps/web/pages/[[...root]].tsx @@ -34,17 +34,19 @@ export default function Root() { return (
- {error &&
{error}
} {rootComponentPath && ( - + <> + {error &&
{error}
} + + + )} -
); }