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