From 06801e4c4bb3cda45f03d4e3fdd8309d1a254665 Mon Sep 17 00:00:00 2001 From: Arman Date: Fri, 11 Apr 2025 10:15:11 +0200 Subject: [PATCH] chore: remove comments --- .../domains/domain-[domain]/+page.svelte | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/+page.svelte b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/+page.svelte index e81509179..1cf76a521 100644 --- a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/+page.svelte +++ b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/+page.svelte @@ -40,12 +40,10 @@ if ('message' in zone) { const blob = new Blob([zone.message as string], { type: 'text/plain' }); - // Create download link const downloadLink = document.createElement('a'); downloadLink.href = URL.createObjectURL(blob); downloadLink.download = `${data.domain.domain}.txt`; - // Trigger download and clean up document.body.appendChild(downloadLink); downloadLink.click(); document.body.removeChild(downloadLink);