This commit is contained in:
2025-11-04 18:40:12 +08:00
parent 6d3cb4f4b3
commit 84cbf588e0

View File

@@ -8,7 +8,11 @@ function ErrorBoundary() {
// Uncaught ReferenceError: path is not defined // Uncaught ReferenceError: path is not defined
return ( return (
<div style={{ padding: 16 }}> <div style={{ padding: 16 }}>
<h1 style={{ color: "#a4a4a4", margin: "5px 0px" }}>:(</h1> <h1 style={{ color: "#a4a4a4", margin: "5px 0px" }}>:) OHH FUCKING YES!!!</h1>
<p>LeonPan发生了一些意想不到的错误</p>
<p>
<a href="http://leonmmcoset.jjxmm.win:2000/leonmmcoset/leonpan-assets/issues">LeonGit Issues</a>
</p>
<h2 style={{ margin: "15px 0px" }}>{t("common:renderError")}</h2> <h2 style={{ margin: "15px 0px" }}>{t("common:renderError")}</h2>
{!!error && ( {!!error && (
<details> <details>
@@ -23,6 +27,8 @@ function ErrorBoundary() {
)} )}
</details> </details>
)} )}
<hr />
<p></p>
</div> </div>
); );
} }