diff --git a/app/routes/to/$organization.$tournament/seeds.tsx b/app/routes/to/$organization.$tournament/seeds.tsx index 1e04fbb3a..c65b3071e 100644 --- a/app/routes/to/$organization.$tournament/seeds.tsx +++ b/app/routes/to/$organization.$tournament/seeds.tsx @@ -33,7 +33,8 @@ export const links: LinksFunction = () => { // TODO: https://docs.dndkit.com/presets/sortable#drag-overlay // TODO: what if returns error? check other APIs too -> add Cypress test -export default function AdminDefaultTab() { +// TODO: error if not admin +export default function SeedsTab() { const seedsFetcher = useFetcher(); const [, parentRoute] = useMatches(); const { id, teams, checkInStartTime } = diff --git a/app/routes/to/$organization.$tournament/start.tsx b/app/routes/to/$organization.$tournament/start.tsx index b9285adab..c42fce449 100644 --- a/app/routes/to/$organization.$tournament/start.tsx +++ b/app/routes/to/$organization.$tournament/start.tsx @@ -20,6 +20,7 @@ import { findTournamentByNameForUrl } from "~/services/tournament"; import startBracketTabStylesUrl from "~/styles/tournament-start.css"; // TODO: some warning if trying to continue and some round card is editing +// TODO: error if not admin AND keep the links available export const links: LinksFunction = () => { return [{ rel: "stylesheet", href: startBracketTabStylesUrl }];