This commit is contained in:
none 2023-03-02 11:48:51 +08:00
parent f0527002ff
commit cd5ef9ad4b
2 changed files with 20 additions and 0 deletions

10
src/pages/error/index.tsx Normal file
View File

@ -0,0 +1,10 @@
import React from "react";
export const ErrorPage: React.FC<any> = () => {
return (
<div id="error-page">
<h1>Oops!</h1>
<p></p>
</div>
);
};

10
src/routes/index.ts Normal file
View File

@ -0,0 +1,10 @@
import { createBrowserRouter } from "react-router-dom";
import { ErrorPage } from "../pages/error";
const router = createBrowserRouter([
{
path: "/",
element: null
},
]);
export default router;