feat: added error boundary

This commit is contained in:
Daniel Hougaard
2024-09-20 23:05:23 +04:00
parent e44213a8a9
commit 2a686e65cd

View File

@@ -57,7 +57,7 @@ const ErrorPage = ({ error }: { error: Error | null }) => {
</p>
{orgId && (
<Button className="mt-4" size="xs" onClick={() => router.push(`/org/${orgId}`)}>
<Button className="mt-4" size="xs" onClick={() => router.push(`/org/${orgId}/overview`)}>
<FontAwesomeIcon icon={faHome} className="mr-2" />
Back To Home
</Button>