Skip to content

Commit

Permalink
fix: fix copy button text
Browse files Browse the repository at this point in the history
  • Loading branch information
Kabir-Ivan committed Jul 2, 2024
1 parent b527faf commit 8aefb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/static/components/section/body/meta-info/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const mkTextWithClipboardButton = (text, url) => {
{url ? <a data-suite-view-link={url} className="custom-icon_view-local" target="_blank" href={url}>
{text || url}
</a> : text}
<ClipboardButton text={text || url} size='s' className='copy-button' />
<ClipboardButton text={url || text} size='s' className='copy-button' />
</Fragment>;
}

Expand Down

0 comments on commit 8aefb54

Please sign in to comment.