fix(web): don't show ServerListing recents when recents is empty

This commit is contained in:
41666 2021-03-13 19:23:32 -05:00
parent d0f9010ea8
commit 18c136e082

View file

@ -32,7 +32,7 @@ export const ServersListing = (props: ServersListingProps) => {
return ( return (
<ContentContainer> <ContentContainer>
{recentGuildSlugs && ( {recentGuildSlugs.length !== 0 && (
<> <>
<SectionHead>Recent Guilds</SectionHead> <SectionHead>Recent Guilds</SectionHead>
<CardList guilds={recentGuildSlugs} /> <CardList guilds={recentGuildSlugs} />