mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 02:18:09 +03:00
Note that this error is not recoverable.
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user