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 { UserResponse } from "~/types/interfaces";
|
||||
|
||||
export default function sortUsers(users: UserResponse[]): UserResponse[] {
|
||||
export default (users: UserResponse[]): UserResponse[] => {
|
||||
return users.sort((a, b) => {
|
||||
return getDisplayName(a).localeCompare(getDisplayName(b))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue