aboutsummaryrefslogtreecommitdiffstats
path: root/thallium-frontend/src
diff options
context:
space:
mode:
Diffstat (limited to 'thallium-frontend/src')
-rw-r--r--thallium-frontend/src/pages/ErrorPage.tsx18
1 files changed, 6 insertions, 12 deletions
diff --git a/thallium-frontend/src/pages/ErrorPage.tsx b/thallium-frontend/src/pages/ErrorPage.tsx
index ffc6f8a..bc842f4 100644
--- a/thallium-frontend/src/pages/ErrorPage.tsx
+++ b/thallium-frontend/src/pages/ErrorPage.tsx
@@ -26,18 +26,12 @@ const LandingPage = () => {
isUnexpected = true;
}
- return (
- <>
- <div>
- <Card title={title}>
- {isUnexpected && <strong>An error occurred:</strong>}
- <p>
- {message}
- </p>
- </Card>
- </div>
- </>
- );
+ return <Card title={title}>
+ {isUnexpected && <strong>An error occurred:</strong>}
+ <p>
+ {message}
+ </p>
+ </Card>;
};
export default LandingPage;