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:
Innei
2025-08-07 14:39:56 +08:00
parent 846d25d4da
commit 3b03d0435e
@@ -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 && (
<>