Skip to content

Commit c439547

Browse files
committed
feat: sort list on like topic screen
1 parent cc1111f commit c439547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/screens/my/Favorite.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const FavoriteTopics = ({
2222
if (!likeTopics) {
2323
return <Placeholder />
2424
}
25-
return <TopicCardList topics={likeTopics} canLoadMoreContent={false} searchIndicator={false} />
25+
return <TopicCardList topics={[...likeTopics].reverse()} canLoadMoreContent={false} searchIndicator={false} />
2626
}
2727

2828
return <View style={[SylCommon.Layout.fill, SylCommon.View.background(theme)]}>{renderContent()}</View>

0 commit comments

Comments
 (0)