diff options
| author | FifthWit <fifthwitbusiness@gmail.com> | 2025-01-30 13:11:48 -0600 |
|---|---|---|
| committer | FifthWit <fifthwitbusiness@gmail.com> | 2025-01-30 13:11:48 -0600 |
| commit | 81342e2579165ebfdb28c749dc5225141721a419 (patch) | |
| tree | 8e5759c20b92408048fe5ac44f48e2df2a00ab9b /frontend/src/components/RankingEntry.tsx | |
| parent | fixed issues with useCallback (diff) | |
| download | lphub-81342e2579165ebfdb28c749dc5225141721a419.tar.gz lphub-81342e2579165ebfdb28c749dc5225141721a419.tar.bz2 lphub-81342e2579165ebfdb28c749dc5225141721a419.zip | |
switched to double quotes
Diffstat (limited to 'frontend/src/components/RankingEntry.tsx')
| -rw-r--r-- | frontend/src/components/RankingEntry.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/src/components/RankingEntry.tsx b/frontend/src/components/RankingEntry.tsx index f45ca35..f28eabf 100644 --- a/frontend/src/components/RankingEntry.tsx +++ b/frontend/src/components/RankingEntry.tsx | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | import React from 'react'; | 1 | import React from "react"; |
| 2 | import { Link } from 'react-router-dom'; | 2 | import { Link } from "react-router-dom"; |
| 3 | import { RankingType, SteamRankingType } from '@customTypes/Ranking'; | 3 | import { RankingType, SteamRankingType } from "@customTypes/Ranking"; |
| 4 | 4 | ||
| 5 | enum RankingCategories { | 5 | enum RankingCategories { |
| 6 | rankings_overall, | 6 | rankings_overall, |
| @@ -14,7 +14,7 @@ interface RankingEntryProps { | |||
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | const RankingEntry: React.FC<RankingEntryProps> = prop => { | 16 | const RankingEntry: React.FC<RankingEntryProps> = prop => { |
| 17 | if ('placement' in prop.curRankingData) { | 17 | if ("placement" in prop.curRankingData) { |
| 18 | return ( | 18 | return ( |
| 19 | <div className="leaderboard-entry"> | 19 | <div className="leaderboard-entry"> |
| 20 | <span>{prop.curRankingData.placement}</span> | 20 | <span>{prop.curRankingData.placement}</span> |