style(frontend): fix autofixable eslint errors (#9968)

This commit is contained in:
Kagami Sascha Rosylight 2023-02-17 02:56:23 +01:00 committed by GitHub
parent 63df2c851e
commit 7c5fc2c423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -51,7 +51,7 @@ watch([() => props.note.reactions, () => props.maxNumber], ([newSource, maxNumbe
...Object.entries(newSource)
.sort(([, a], [, b]) => b - a)
.filter(([y], i) => i < maxNumber && !newReactionsNames.includes(y)),
]
];
newReactions = newReactions.slice(0, props.maxNumber);