import React from 'react'; import Hero from '../components/Hero'; import MemberRow from '../components/MemberRow'; import useQuery from '../hooks/useQuery'; export default function Committee() { let excomm = useQuery( `*[_type == 'member' && committee == 'excomm'] | order (role, year desc)` ); // year desc because seniority 8) return ( <>
{excomm && excomm.map((member) => { return ; })}
); }