({ url, showLink }: { url: string | null, showLink: boolean })
| 34 | } |
| 35 | |
| 36 | function Url({ url, showLink }: { url: string | null, showLink: boolean }) { |
| 37 | if (!url || !showLink) return null |
| 38 | |
| 39 | return ( |
| 40 | <div |
| 41 | className="mt-1 link-url branch-name css-truncate css-truncate-target" |
| 42 | > |
| 43 | {url} |
| 44 | </div> |
| 45 | ) |
| 46 | } |
| 47 | |
| 48 | function TitleLink({ url, title }: { url: string | null, title: string }) { |
| 49 | if (!url) { |
nothing calls this directly
no outgoing calls
no test coverage detected