import { useBoardAssociations } from "@/contexts/BoardAssociationContext";
import DocumentsPage from "@/pages/DocumentsPage";
export default function BoardDocumentsPage() {
  const { associationIds, loading, canUpload } = 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 <DocumentsPage boardAssociationIds={associationIds} viewerRole="board" boardCanUpload={canUpload} />;
}
