diff --git a/web/pages/group/[...slugs]/index.tsx b/web/pages/group/[...slugs]/index.tsx index 91e6f998..43647cdb 100644 --- a/web/pages/group/[...slugs]/index.tsx +++ b/web/pages/group/[...slugs]/index.tsx @@ -428,7 +428,8 @@ function SearchBar(props: { setQuery: (query: string) => void }) { function GroupMemberSearch(props: { group: Group }) { const [query, setQuery] = useState('') - const members = useMembers(props.group) + const { group } = props + const members = useMembers(group, 100) // TODO use find-active-contracts to sort by? const matches = sortBy(members, [(member) => member.name]).filter(