Skip to content

Commit 60a3148

Browse files
authored
🩹 λ„ˆλ¬΄ λ§Žμ•„μ„œ 전솑 λͺ»ν•˜λŠ” 이슈 ν”½μŠ€ (#110)
1 parent 82641f6 commit 60a3148

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

β€Žsrc/services/WaffleService.tsβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ export const implementWaffleService = ({
3636

3737
return a;
3838
}, [])
39-
.toSorted((a, b) => b.given + b.taken - (a.given + a.taken));
39+
.toSorted((a, b) => b.given + b.taken - (a.given + a.taken))
40+
.slice(0, 20);
4041

4142
const channel = channelId.startsWith('C') ? channelId : userId;
4243

0 commit comments

Comments
Β (0)