Skip to content

Commit 610fce2

Browse files
committed
refactor: improve rank text
1 parent 0c02631 commit 610fce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/like-top.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function LikeTopResult({ userId, topCount, postCount }: LikeTopForm) {
134134
case 3:
135135
return { icon: '🥉' }
136136
default:
137-
return { text: String(rank) }
137+
return { text: `#${rank}` }
138138
}
139139
}
140140
return (

0 commit comments

Comments
 (0)