refactor(enrollment): drop count header, keep player-count warnings

This commit is contained in:
2026-08-26 19:12:33 -07:00
parent 4106c3c846
commit f13e5b752a
8 changed files with 70 additions and 105 deletions
@@ -18,7 +18,7 @@ import Typeahead, { TypeaheadOption } from "@/components/typeahead";
import { usePlayers } from "@/features/players/queries";
import useAdminEnrollPlayer from "../../hooks/use-admin-enroll-player";
import useAdminUnenrollPlayer from "../../hooks/use-admin-unenroll-player";
import EnrollmentStats from "./enrollment-stats";
import EnrollmentWarnings from "./enrollment-warnings";
interface FreeAgentSectionProps {
tournamentId: string;
@@ -117,7 +117,7 @@ const FreeAgentSection = ({ tournamentId }: FreeAgentSectionProps) => {
return (
<Stack gap="lg" w="100%">
<EnrollmentStats count={enrolledPlayers.length} regional />
<EnrollmentWarnings count={enrolledPlayers.length} />
<Box
pos="sticky"