diff --git a/src/App.tsx b/src/App.tsx index 12c3447..190a89c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -12,9 +12,9 @@ import Login from "./pages/login"; // import Apply from "./pages/apply"; import { useEffect, useState } from "react"; import { supabase, SessionContext } from "./supabase"; -import Book from "./pages/book" +import Book from "./pages/book"; import Level from "./pages/level"; -// import Result from "./pages/results" +import Result from "./pages/results"; function ErrorBoundary() { const error: any = useRouteError(); @@ -23,14 +23,14 @@ function ErrorBoundary() { return (
-

{error.status}

-

- {error.statusText} -

+

+ {error.status} +

+

{error.statusText}

{error.data}

- ) + ); } const router = createBrowserRouter( @@ -42,7 +42,7 @@ const router = createBrowserRouter( {/* } /> */} } /> } /> - {/* } /> */} + } /> , ), diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 9763ca6..0c545e1 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -6,7 +6,8 @@ import "./index.scss"; export const rec_open = false; export const booking = !rec_open && true; -export const results = !rec_open && !booking && false; +// export const results = !rec_open && !booking && false; +export const results = true; export default function Root() { // const txtsh = "0px 0px 2px rgb(250 204 21)"; @@ -33,10 +34,22 @@ export default function Root() { ) : null} + View Result + +