✨ login page

This commit is contained in:
naiba committed 2024-11-02 22:34:43 +08:00
1 parent d945ca97c1
commit 017e6cfdcf
32 files changed
+2236 -170

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import { useRouteError } from "react-router-dom";
export default function ErrorPage() {
const error: any = useRouteError();
console.error(error);
return (
<div id="error-page">
<h1>Oops!</h1>
<p>Sorry, an unexpected error has occurred.</p>
<p>
<i>{error.statusText || error.message}</i>
</p>
</div>
);
}