diff --git a/frontend/src/App/index.tsx b/frontend/src/App/index.tsx index a72e63a65..b12012bde 100644 --- a/frontend/src/App/index.tsx +++ b/frontend/src/App/index.tsx @@ -1,3 +1,4 @@ +import { faSadCry as fasSadCry } from "@fortawesome/free-regular-svg-icons"; import { faExclamationTriangle } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import React, { @@ -64,21 +65,39 @@ const App: FunctionComponent = () => { } else if (typeof initialized === "string") { return {initialized}; } - - return ( - - -
-
- - - - - - - -
- ); + try { + return ( + + +
+
+ + + + + + + +
+ ); + } catch (error) { + // TODO: Extract me! + return ( + +

+ + Ouch! UI is crashed! +

+ +
+ ); + } }; const InitializationErrorView: FunctionComponent<{