mirror of
https://github.com/elk-zone/elk
synced 2024-11-23 22:56:09 +09:00
parent
9e9f2bde09
commit
8fc6148a3b
@ -37,7 +37,7 @@ const toggleTranslation = async () => {
|
||||
}
|
||||
|
||||
const copyLink = async (status: Status) => {
|
||||
const url = getStatusPermalinkRoute(status)
|
||||
const url = getStatusPermalinkRoute(status)?.href
|
||||
if (url)
|
||||
await clipboard.copy(`${location.origin}${url}`)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user