style: remove function names from implicit util functions
This commit is contained in:
parent
f2fcdbf733
commit
0c4d42f3c1
5 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
import type { GuildMemberResponse } from "~/types/interfaces";
|
||||
|
||||
export default function sortMembers(members: GuildMemberResponse[]): GuildMemberResponse[] {
|
||||
export default (members: GuildMemberResponse[]): GuildMemberResponse[] => {
|
||||
return members.sort((a, b) => {
|
||||
return getDisplayName(a.user, a).localeCompare(getDisplayName(b.user, b))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue