export function filterVisibleSportsSeasons<T extends { status: string }>(
  sportsSeasons: T[],
  hideCompleted: boolean
): T[] {
  if (!hideCompleted) return sportsSeasons;
  return sportsSeasons.filter((season) => season.status !== "completed");
}
