({ usernames, names, clickable }: AuthorProps)
| 72 | }; |
| 73 | |
| 74 | export const getAuthors = ({ usernames, names, clickable }: AuthorProps) => { |
| 75 | if (usernames) { |
| 76 | return getAuthorWithId(usernames, clickable ?? true); |
| 77 | } |
| 78 | |
| 79 | return getAuthorWithName(names || [], clickable ?? true); |
| 80 | }; |
no test coverage detected