fix(feed-title): fix feed title in list
- Swapped the order of title rendering to prioritize the provided title over the preferred title from the feed. - This change improves the clarity of the displayed title in the feed component. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -27,8 +27,7 @@ export const FeedTitle = ({
|
||||
return (
|
||||
<div className={cn("flex select-none items-center truncate", className)} style={style}>
|
||||
<EllipsisHorizontalTextWithTooltip className={cn("truncate", titleClassName)}>
|
||||
{getPreferredTitle(feed) || title}
|
||||
{/* {title?.repeat(222)} */}
|
||||
{title || getPreferredTitle(feed)}
|
||||
</EllipsisHorizontalTextWithTooltip>
|
||||
{!hideExtraBadge && (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user