Skip to content
Snippets Groups Projects
Commit fe6b40ba authored by Niklas Schrötler's avatar Niklas Schrötler
Browse files

App: Improved error handling

parent 940b4293
No related branches found
No related tags found
No related merge requests found
......@@ -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/>
);
}
})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment