import { useBoardAssociations } from "@/contexts/BoardAssociationContext";
import ViolationsPage from "@/pages/ViolationsPage";
export default function BoardViolationsPage() {
  const { associationIds, loading } = useBoardAssociations();
  if (loading) return <div className="flex justify-center py-12"><div className="h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent" /></div>;
  return <ViolationsPage boardAssociationIds={associationIds} />;
}
