refactor(enrollment): drop count header, keep player-count warnings
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user