diff --git a/components/status/StatusActionsMore.vue b/components/status/StatusActionsMore.vue index e8488f28..0dab1a7e 100644 --- a/components/status/StatusActionsMore.vue +++ b/components/status/StatusActionsMore.vue @@ -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}`) }