mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat: added error boundary
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user