chore: formatting

This commit is contained in:
2024-01-26 11:18:06 +00:00
parent 7a6637a86f
commit d3e6ddc64c
8 changed files with 80 additions and 75 deletions

View File

@ -56,5 +56,5 @@ export function wotScore(pubkey: string) {
}
export function sortByWoT(pubkeys: Array<string>) {
return pubkeys.sort((a, b) => wotScore(a) > wotScore(b) ? 1 : -1);
}
return pubkeys.sort((a, b) => (wotScore(a) > wotScore(b) ? 1 : -1));
}