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