From fe6b40ba5a6cb34d76cd29eda4d84311d98d9fc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niklas=20Schr=C3=B6tler?= <niklas@allround.digital>
Date: Mon, 27 Nov 2023 01:21:40 +0100
Subject: [PATCH] App: Improved error handling

---
 src/App.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/App.tsx b/src/App.tsx
index cb722c2..d7fb4f4 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -19,7 +19,7 @@ function App() {
   }
 
   return (
-    <div className={"overflow-hidden w-screen h-screen bg-zinc-950 text-white"} style={{fontFamily: "Inter"}}>
+    <div className={"overflow-hidden w-screen h-screen bg-zinc-950 text-white text-def"} style={{fontFamily: "Inter"}}>
       <ScreenWrapper backgroundImage={layout.background}>
         {
           layout.panels.map(panel => {
@@ -49,7 +49,9 @@ function App() {
                 </LayoutElement>
               )
             } catch (e) {
-
+              return (
+                <ErrorPanel/>
+              );
             }
           })
         }
-- 
GitLab