Increase trending group count again. (It's uglier, but it's way more useful!)
This commit is contained in:
parent
a1dcf8d168
commit
8d70dc4800
|
@ -409,7 +409,7 @@ export function TrendingGroupsSection(props: {
|
|||
const groups = useTrendingGroups().filter(
|
||||
(g) => !memberGroupIds.includes(g.id)
|
||||
)
|
||||
const count = 7
|
||||
const count = 20
|
||||
const chosenGroups = groups.slice(0, count)
|
||||
|
||||
if (chosenGroups.length === 0) {
|
||||
|
@ -419,6 +419,9 @@ export function TrendingGroupsSection(props: {
|
|||
return (
|
||||
<Col className={className}>
|
||||
<SectionHeader label="Trending groups" href="/explore-groups" />
|
||||
<div className="mb-4 text-gray-500">
|
||||
Follow groups you are interested in.
|
||||
</div>
|
||||
<Row className="flex-wrap gap-2">
|
||||
{chosenGroups.map((g) => (
|
||||
<PillButton
|
||||
|
|
Loading…
Reference in New Issue
Block a user