mirror of
https://github.com/elk-zone/elk
synced 2024-11-27 22:38:11 +09:00
parent
9e9f2bde09
commit
8fc6148a3b
@ -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 New Issue
Block a user