import { useBoardAssociations } from "@/contexts/BoardAssociationContext";
import CollaborativeDocumentsPage from "@/components/collaborative/CollaborativeDocumentsPage";

export default function BoardCollaborativeDocsPage() {
  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 <CollaborativeDocumentsPage boardAssociationIds={associationIds} />;
}
