match status

This commit is contained in:
yohlo
2025-09-11 14:04:05 -05:00
parent 22be6682dd
commit 8dfff139e1
8 changed files with 89 additions and 20 deletions

View File

@@ -35,8 +35,8 @@ export const MatchCard: React.FC<MatchCardProps> = ({
);
const showToolbar = useMemo(
() => match.home && match.away && onStartMatch,
[match.home, match.away]
() => match.status === "ready" && onStartMatch,
[match.status, onStartMatch]
);
const handleAnnounce = useCallback(