( post: Pick<Post, 'type' | 'subType' | 'sharedPost' | 'permalink'>, )
| 134 | * otherwise the post's own permalink. |
| 135 | */ |
| 136 | export const getReadArticleHref = ( |
| 137 | post: Pick<Post, 'type' | 'subType' | 'sharedPost' | 'permalink'>, |
| 138 | ): string | undefined => |
| 139 | getPostReadTarget(post).target?.permalink ?? post.permalink; |
| 140 | |
| 141 | /** |
| 142 | * A share without commentary has nothing of its own to reshare, so resharing |
no test coverage detected