(post?: Post)
| 129 | } |
| 130 | |
| 131 | const getPostTypeForCard = (post?: Post): PostType => { |
| 132 | if (!post) { |
| 133 | return PostType.Article; |
| 134 | } |
| 135 | |
| 136 | if (isSocialTwitterPost(post)) { |
| 137 | return PostType.SocialTwitter; |
| 138 | } |
| 139 | |
| 140 | return post.type; |
| 141 | }; |
| 142 | |
| 143 | type GetTagsProps = { |
| 144 | isListFeedLayout: boolean; |
no test coverage detected