fix taglines on home

This commit is contained in:
Alec Armbruster 2023-06-29 10:26:14 -04:00
parent ad6db69dda
commit 2a51743967
No known key found for this signature in database
GPG key ID: 52BC7C84E960FD1B

View file

@ -279,13 +279,15 @@ export class Home extends Component<any, HomeState> {
trendingCommunitiesRes,
commentsRes,
postsRes,
tagline: getRandomFromList(this.state?.siteRes?.taglines ?? [])
?.content,
isIsomorphic: true,
};
HomeCacheService.postsRes = postsRes;
}
this.state.tagline = getRandomFromList(
this.state?.siteRes?.taglines ?? []
)?.content;
}
componentWillUnmount() {