fix: copy module link title (#6362)
This commit is contained in:
parent
89603bb2d6
commit
9062a7b67d
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ export const ModulesLinksListItem: React.FC<Props> = observer((props) => {
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
<span
|
<span
|
||||||
onClick={() => copyToClipboard(link.title && link.title !== "" ? link.title : link.url)}
|
onClick={() => copyToClipboard(link.url)}
|
||||||
className="grid place-items-center p-1 hover:bg-custom-background-80 cursor-pointer"
|
className="grid place-items-center p-1 hover:bg-custom-background-80 cursor-pointer"
|
||||||
>
|
>
|
||||||
<Copy className="h-3.5 w-3.5 stroke-[1.5]" />
|
<Copy className="h-3.5 w-3.5 stroke-[1.5]" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue