Skip to content

Commit

Permalink
remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
taranvohra committed Apr 4, 2021
1 parent 013a6ca commit 058953c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/formatting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,7 @@ export const formatUserStats = (user: PugUser) => {
game: { pug },
},
} = user;
const { totalPugs, totalCaptain, totalWins, totalLosses } = Object.values(
user.stats
).reduce(
const { totalPugs, totalCaptain } = Object.values(user.stats).reduce(
(acc, curr) => {
acc.totalPugs += curr.totalPugs || 0;
acc.totalCaptain += curr.totalCaptain || 0;
Expand Down

0 comments on commit 058953c

Please sign in to comment.