match status
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user