(topic: TopicType)
| 134 | } |
| 135 | |
| 136 | function headingDetail(topic: TopicType) { |
| 137 | const length = topic.displaySynonyms.length |
| 138 | |
| 139 | if (length < 2) return <div>{renderRepoOwnership(topic)}</div> |
| 140 | |
| 141 | return ( |
| 142 | <div> |
| 143 | <div className="displaySynonyms h6"> |
| 144 | {topic.displaySynonyms.map(({ name }) => ( |
| 145 | <span key={name} className="synonym">{name}</span> |
| 146 | ))} |
| 147 | </div> |
| 148 | |
| 149 | {renderRepoOwnership(topic)} |
| 150 | </div> |
| 151 | ) |
| 152 | } |
| 153 | |
| 154 | const renderNotification = () => ( |
| 155 | <div className="Box p-3 mt-3"> |
no test coverage detected