Add default error boundary around screens

Catch any unhandled non-async errors with an error boundary
around screens. This will show a generic error message instead
of crashing the page.
This commit is contained in:
Jake McDermott
2021-05-14 10:40:39 -04:00
parent f2b2e64426
commit 8c2ca29f4e
3 changed files with 26 additions and 1 deletions

View File

@@ -26,6 +26,7 @@
"react": "^16.13.1",
"react-ace": "^9.3.0",
"react-dom": "^16.13.1",
"react-error-boundary": "^3.1.3",
"react-router-dom": "^5.1.2",
"react-virtualized": "^9.21.1",
"rrule": "^2.6.4",