export const getFullName = <T extends { first_name?: string | undefined; last_name?: string | undefined }>(user?: T) => {
    const firstName = user?.first_name ?? ""
    const lastName = user?.last_name ?? ""
    return `${firstName} ${lastName}`.trim()
}