Use external links in error boundaries

This commit is contained in:
zkldi
2021-11-18 11:02:04 +00:00
parent e17486107f
commit 842f007e73
+2 -2
View File
@@ -2,7 +2,7 @@ import React from "react";
import CenterLayoutPage from "../layout/CenterLayoutPage";
import DebugContent from "./DebugContent";
import Divider from "./Divider";
import LinkButton from "./LinkButton";
import ExternalLink from "./ExternalLink";
export default class ErrorBoundary extends React.Component<any, { error: any; info: any }> {
constructor(props: any) {
@@ -32,7 +32,7 @@ export default class ErrorBoundary extends React.Component<any, { error: any; in
/>
</div>
<Divider />
<LinkButton to="/">Go Home</LinkButton>
<ExternalLink href="/">Go Home</ExternalLink>
</CenterLayoutPage>
);
}