Add additional error boundaries, improve display and reload behavior

This commit is contained in:
Tom Moor
2023-04-05 21:57:58 -04:00
parent 24729fa0d4
commit 1f3d7506d7
8 changed files with 45 additions and 25 deletions

View File

@@ -325,7 +325,7 @@ function Editor(props: Props, ref: React.RefObject<SharedEditor> | null) {
);
return (
<ErrorBoundary reloadOnChunkMissing>
<ErrorBoundary component="div" reloadOnChunkMissing>
<>
<LazyLoadedEditor
ref={mergeRefs([ref, localRef, handleRefChanged])}