Skip to content

Commit 7372550

Browse files
committed
Clean up
1 parent 2a1a312 commit 7372550

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/TranslationLeaderboard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const TranslationLeaderboard: React.FC<IProps> = ({
203203
</Flex>
204204
</Flex>
205205
{leaderboardData[dateRangeType]
206-
.slice(0, filterAmount) // This replaces the second filter that limits the amount
206+
.slice(0, filterAmount)
207207
.map((item, idx) => {
208208
const { user, languages } = item
209209
const sortedLanguages = reverse(
@@ -218,7 +218,6 @@ const TranslationLeaderboard: React.FC<IProps> = ({
218218
} else if (idx === 2) {
219219
emoji = ":3rd_place_medal:"
220220
}
221-
// ... Rest of your map function that generates JSX for each item
222221
return (
223222
<Flex
224223
textDecoration="none"

0 commit comments

Comments
 (0)