diff --git a/app/features/tournament-admin/routes/to.$id.admin._index.tsx b/app/features/tournament-admin/routes/to.$id.admin._index.tsx index 6f2a21ae6..5699be5ca 100644 --- a/app/features/tournament-admin/routes/to.$id.admin._index.tsx +++ b/app/features/tournament-admin/routes/to.$id.admin._index.tsx @@ -13,7 +13,7 @@ import { X, } from "lucide-react"; import * as React from "react"; -import { useFetcher } from "react-router"; +import { Link, useFetcher } from "react-router"; import { Avatar } from "~/components/Avatar"; import { LinkButton, SendouButton } from "~/components/elements/Button"; import { SendouMenu, SendouMenuItem } from "~/components/elements/Menu"; @@ -29,9 +29,10 @@ import { useTournament } from "~/features/tournament/routes/to.$id"; import type { Tournament } from "~/features/tournament-bracket/core/Tournament"; import type { TournamentDataTeam } from "~/features/tournament-bracket/core/Tournament.server"; import { - teamPage, tournamentAdminRegistrationEditPage, tournamentAdminRegistrationPage, + tournamentTeamPage, + userPage, } from "~/utils/urls"; import { queryToUserIdentifier } from "~/utils/users"; import { ExportDialog } from "../components/ExportDialog"; @@ -165,19 +166,16 @@ function TeamRow({
- {team.team ? ( - - {team.name} - - ) : ( - - {team.name} - - )} + + {team.name} +
{!tournament.ctx.isFinalized ? ( @@ -193,14 +191,15 @@ function TeamRow({ return ( {member ? ( - {member.role === "OWNER" ? "(C) " : null} {member.username} - + ) : null} );