summaryrefslogtreecommitdiff
path: root/front/src/Router.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'front/src/Router.tsx')
-rw-r--r--front/src/Router.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/front/src/Router.tsx b/front/src/Router.tsx
index 83d212f..1293709 100644
--- a/front/src/Router.tsx
+++ b/front/src/Router.tsx
@@ -27,3 +27,11 @@ function toGlobal() {
export function P404() {
return <h1 className="x-center">404</h1>;
}
+export function ErrorPage({ msg }: { msg: string }) {
+ return (
+ <div>
+ <P404 />
+ <h3>{msg}</h3>
+ </div>
+ );
+}