style: move profile functions into a composable
This commit is contained in:
parent
e44c7d0c2e
commit
1ac3042470
20 changed files with 112 additions and 89 deletions
|
@ -1,4 +1,5 @@
|
|||
import type { UserResponse } from "~/types/interfaces";
|
||||
const { getDisplayName } = useProfile()
|
||||
|
||||
export default (users: UserResponse[]): UserResponse[] => {
|
||||
return users.sort((a, b) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue