diff options
| author | 2024-08-17 03:04:10 +0100 | |
|---|---|---|
| committer | 2024-08-17 03:04:10 +0100 | |
| commit | 46879b037b46745a3a16cef2f2ff07c83054a60e (patch) | |
| tree | 525061c2347eca248928d518b850086adb559e46 /thallium-frontend/src/pages/ErrorPage.tsx | |
| parent | Remove unnecessary nesting on error page (diff) | |
Correct bad copy & paste
Diffstat (limited to 'thallium-frontend/src/pages/ErrorPage.tsx')
| -rw-r--r-- | thallium-frontend/src/pages/ErrorPage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thallium-frontend/src/pages/ErrorPage.tsx b/thallium-frontend/src/pages/ErrorPage.tsx index bc842f4..916abc5 100644 --- a/thallium-frontend/src/pages/ErrorPage.tsx +++ b/thallium-frontend/src/pages/ErrorPage.tsx @@ -2,7 +2,7 @@ import { useRouteError, isRouteErrorResponse } from 'react-router-dom'; import Card from '../components/Card'; -const LandingPage = () => { +const ErrorPage = () => { const error = useRouteError(); let title = 'Unexpected Error', message, isUnexpected = false; @@ -34,4 +34,4 @@ const LandingPage = () => { </Card>; }; -export default LandingPage; +export default ErrorPage; |