Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung committed Nov 18, 2024
1 parent cfe650e commit 11e043f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,7 @@ function SourceCardContent({
source: AttachmentDocItem
showMore: boolean
}) {
// FIXME
const { hostname } = new URL(source.link || window.origin)
const { hostname } = new URL(source.link)

const isIssue = source.__typename === 'MessageAttachmentIssueDoc'
const isPR = source.__typename === 'MessageAttachmentPullRequest'
Expand Down

0 comments on commit 11e043f

Please sign in to comment.