Skip to content

Commit

Permalink
Merge branch 'old-dev-server' into old-production
Browse files Browse the repository at this point in the history
  • Loading branch information
AswinAsok committed Jul 2, 2023
2 parents ec55207 + 3832bff commit 6ed50ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/Home/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ a {
justify-content: center;
align-items: center;
row-gap: 1rem;
column-gap: 1rem;
column-gap: 0.5rem;
}

.primary,
Expand Down
2 changes: 2 additions & 0 deletions src/Pages/MutechLeaderBoard/MutechLeaderBoard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ const MutechLeaderBoard = () => {
function sortScore(PeopleScoreBoard) {
const scoreSet = Object.values(PeopleScoreBoard)
const scoreBoard = scoreSet.sort((a, b) => {
if (a.streak === b.streak)
return b.score - a.score
return b.streak - a.streak
})
setScoreBoard(scoreBoard)
Expand Down

0 comments on commit 6ed50ee

Please sign in to comment.