copy fix
All checks were successful
publish-main / release-image (push) Successful in 3m31s

This commit is contained in:
kuwsh1n 2024-04-15 06:20:11 +03:00
parent 209c2e0a70
commit e02aa76b9a

View File

@ -79,7 +79,7 @@ const Forms = () => {
const response = await listFormsByTokenApi(cookies.token, formId);
if (response.status === 200 && response.data.tokens) {
navigator.clipboard.writeText(`http://localhost:3000/forms/${response.data.tokens[0].id}/`)
navigator.clipboard.writeText(`${window.location.host}/forms/${response.data.tokens[0].id}/`)
}
else {
console.log(response)