fix(renderer): Catch render error with full page.

This commit is contained in:
Gervwyk 2021-04-26 11:41:42 +02:00
parent 474a00a718
commit 9775e24273

View File

@ -125,7 +125,7 @@ const Root = ({ gqlUri }) => {
};
lowdefy.user = {};
return (
<ErrorBoundary>
<ErrorBoundary fullPage>
<ApolloProvider client={lowdefy.client}>
<RootQuery lowdefy={lowdefy}>
<DisplayMessage
@ -143,9 +143,7 @@ const Root = ({ gqlUri }) => {
<OpenIdCallback lowdefy={lowdefy} />
</Route>
<Route exact path="/:pageId">
<ErrorBoundary>
<Page lowdefy={lowdefy} />
</ErrorBoundary>
<Page lowdefy={lowdefy} />
</Route>
</Switch>
</RootQuery>