mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
19 lines
552 B
TypeScript
19 lines
552 B
TypeScript
import { useLoaderData } from "react-router";
|
|
import { Main } from "~/components/Main";
|
|
import { TeamGoBackButton } from "~/features/team/components/TeamGoBackButton";
|
|
import { TeamResultsTable } from "~/features/team/components/TeamResultsTable";
|
|
import { loader } from "../loaders/t.$customUrl.results.server";
|
|
|
|
export { loader };
|
|
|
|
export default function TeamResultsPage() {
|
|
const data = useLoaderData<typeof loader>();
|
|
|
|
return (
|
|
<Main className="stack lg">
|
|
<TeamGoBackButton />
|
|
<TeamResultsTable results={data.results} />
|
|
</Main>
|
|
);
|
|
}
|