(user: IUser)
| 5 | * no first/last name set (e.g. fresh OAuth registration, or skipped profile). |
| 6 | */ |
| 7 | export function displayName(user: IUser): string { |
| 8 | const full = `${user.firstName} ${user.lastName}`.trim(); |
| 9 | |
| 10 | return full !== "" ? full : user.email; |
| 11 | } |
no outgoing calls
no test coverage detected