Skip to content

Commit c5aa215

Browse files
committed
refactor: improve profile tags
1 parent 77216e9 commit c5aa215

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/modules/user/profile.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,7 @@ export const queryProfile = async ({
8888
],
8989
[createdAtStr, `${colors.bold(createdDays)} 天`],
9090
[],
91-
[
92-
result.user.zodiac,
93-
result.user.industry || '',
94-
result.user.school?.name || '',
95-
],
91+
result.user.profileTags.map((tag) => tag.text),
9692
[
9793
`${colors.bold(`${result.user.statsCount.followingCount}`)} 关注`,
9894
`${formatFollowedCount(result.user.statsCount.followedCount)} 被关注`,

0 commit comments

Comments
 (0)