Skip RSS URL generation if it's not a channel.

This commit is contained in:
infinite-persistence 2021-07-09 17:42:14 +08:00
parent e7bed19391
commit cd9337f2d4
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -103,7 +103,7 @@ function ClaimMenuList(props: Props) {
}
const shareUrl: string = generateShareUrl(SHARE_DOMAIN, uri);
const rssUrl: string = generateRssUrl(URL, uri);
const rssUrl: string = isChannel ? generateRssUrl(URL, uri) : '';
const isCollectionClaim = claim && claim.value_type === 'collection';
// $FlowFixMe
const isPlayable =