chore: cleanup

This commit is contained in:
nivedin
2023-12-05 23:47:45 +05:30
committed by Andrew Bastin
parent aa18249791
commit 67cfef82af
3 changed files with 8 additions and 21 deletions

View File

@@ -358,13 +358,7 @@ const linkVariants: LinkVariant[] = [
const baseURL = import.meta.env.VITE_SHORTCODE_BASE_URL ?? "https://hopp.sh"
const copyEmbed = () => {
//const options = embedOptions.value
// const enabledEmbedOptions = options.tabs
// .filter((tab) => tab.enabled)
// .map((tab) => tab.value)
// .toString()
//return `<iframe src="${baseURL}/e/${props.request?.id}' style='width: 100%; height: 500px; border: 0; border-radius: 4px; overflow: hidden;'></iframe>`
return `${baseURL}/e/${props.request?.id} `
return `<iframe src="${baseURL}/e/${props.request?.id}' style='width: 100%; height: 500px; border: 0; border-radius: 4px; overflow: hidden;'></iframe>`
}
const copyButton = (