import { useBoardAssociations } from "@/contexts/BoardAssociationContext";
import EstoppelsPage from "@/pages/EstoppelsPage";
export default function BoardEstoppelsPage() {
  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 <EstoppelsPage boardAssociationIds={associationIds} viewerRole="board" />;
}