Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbtay committed Sep 19, 2024
1 parent 838c4b7 commit 6aa5e4b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/components/Leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export function Leaderboard() {
.filter(
(u) =>
!hasAffiliation ||
u.user?.id === user?.uid ||
!!(
u.user.affiliation &&
leaderboard
Expand All @@ -169,15 +170,6 @@ export function Leaderboard() {
userStats={u}
rank={i + 1}
isMe={u.user?.id === user?.uid}
isAffiliated={
!hasAffiliation ||
!!(
u.user.affiliation &&
leaderboard
.toLowerCase()
.startsWith(u.user.affiliation.toLowerCase())
)
}
/>
))}
</div>
Expand Down

0 comments on commit 6aa5e4b

Please sign in to comment.