Skip to content

Commit 058953c

Browse files
author
taranvohra
committed
remove unused vars
1 parent 013a6ca commit 058953c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/formatting.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,7 @@ export const formatUserStats = (user: PugUser) => {
428428
game: { pug },
429429
},
430430
} = user;
431-
const { totalPugs, totalCaptain, totalWins, totalLosses } = Object.values(
432-
user.stats
433-
).reduce(
431+
const { totalPugs, totalCaptain } = Object.values(user.stats).reduce(
434432
(acc, curr) => {
435433
acc.totalPugs += curr.totalPugs || 0;
436434
acc.totalCaptain += curr.totalCaptain || 0;

0 commit comments

Comments
 (0)