From 51f87529f67a264b66355b2a1170fa4bdedd2c71 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Sun, 23 Mar 2025 14:38:54 -0600 Subject: [PATCH] clean comments --- src/pages/migration/MigrationDownload.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/migration/MigrationDownload.tsx b/src/pages/migration/MigrationDownload.tsx index 859dbb31..e48f1935 100644 --- a/src/pages/migration/MigrationDownload.tsx +++ b/src/pages/migration/MigrationDownload.tsx @@ -25,7 +25,6 @@ export function MigrationDownloadPage() { const handleDownload = useCallback(() => { try { - // Create a data object containing user's account data, bookmarks, and progress const exportData = { account: { profile: user.account?.profile, @@ -43,7 +42,6 @@ export function MigrationDownloadPage() { // Create filename with current date const exportFileDefaultName = `mw-account-data-${new Date().toISOString().split("T")[0]}.json`; - // Create a temporary link element and click it to trigger download const linkElement = document.createElement("a"); linkElement.setAttribute("href", dataUri); linkElement.setAttribute("download", exportFileDefaultName);