Note that this error is not recoverable.

This commit is contained in:
zkldi
2021-12-12 01:28:22 +00:00
parent 512e4320d5
commit dbe03e497c
@@ -1,8 +1,10 @@
import { TachiConfig } from "lib/config";
import React from "react";
import CenterLayoutPage from "../layout/CenterLayoutPage";
import DebugContent from "./DebugContent";
import Divider from "./Divider";
import ExternalLink from "./ExternalLink";
import Muted from "./Muted";
export default class ErrorBoundary extends React.Component<any, { error: any; info: any }> {
constructor(props: any) {
@@ -32,6 +34,8 @@ export default class ErrorBoundary extends React.Component<any, { error: any; in
/>
</div>
<Divider />
<Muted>This error is not recoverable. :/</Muted>
<Divider />
<ExternalLink href="/">Go Home</ExternalLink>
</CenterLayoutPage>
);