copy should copy whole short url

This commit is contained in:
Gustavo Maronato 2023-08-22 12:34:39 -03:00
parent f7a36ebe01
commit a4b2fcdb7c
Signed by: maronato
SSH Key Fingerprint: SHA256:2Gw7kwMz/As+2UkR1qQ/qYYhn+WNh3FGv6ozhoRrLcs

View File

@ -20,7 +20,7 @@ const ShortItem: FunctionComponent<Short> = ({ ...short }) => {
? `${short.url.slice(0, maxSize)}...`
: short.url
const shortNameURL = `${origin}/${name}`
const shortNameURL = `${origin}/${short.name}`
// Handle deletion
const [deleting, del] = useDelete()