mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-13 20:39:58 +00:00
parent
9e9f2bde09
commit
8fc6148a3b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ const toggleTranslation = async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const copyLink = async (status: Status) => {
|
const copyLink = async (status: Status) => {
|
||||||
const url = getStatusPermalinkRoute(status)
|
const url = getStatusPermalinkRoute(status)?.href
|
||||||
if (url)
|
if (url)
|
||||||
await clipboard.copy(`${location.origin}${url}`)
|
await clipboard.copy(`${location.origin}${url}`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue