fix(status): copy link

pull/49/head
三咲智子 2022-11-24 22:31:43 +08:00
rodzic a5ef2bdc67
commit 0587f5f994
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 69992F2250DFD93E
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -60,7 +60,7 @@ const togglePin = async () => toggleStatusAction(
)
const copyLink = async () => {
await clipboard.copy(location.href)
await clipboard.copy(`${location.origin}${getStatusPath(status)}`)
}
const openInOriginal = () => {
window.open(status.url!, '_blank')