Skip to content

Commit 2a869ee

Browse files
refactor(leaderboard): update hidden sentence in link overlay
1 parent 23325b8 commit 2a869ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Leaderboard.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ const Leaderboard: React.FC<IProps> = ({ content, limit = 100 }) => {
120120
color="text"
121121
hideArrow
122122
>
123-
<VisuallyHidden>{`In ${PLACE_WORDS[idx]} place with ${score} points`}</VisuallyHidden>
123+
<VisuallyHidden>{`In place number ${
124+
idx + 1
125+
} with ${score} points`}</VisuallyHidden>
124126
{name}{" "}
125127
{hasGitHub && (
126128
<VisuallyHidden>(See Github Profile)</VisuallyHidden>

0 commit comments

Comments
 (0)