From 89e947c1f6b3e679f82ac7820a20aacfab1a1fa3 Mon Sep 17 00:00:00 2001 From: Alejandro Laguna Date: Sun, 6 Apr 2025 18:49:43 +0200 Subject: [PATCH] fix: proper download at prod --- src/components/Footer.tsx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index f1b8f41..bbad0ca 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,11 +1,4 @@ export default function Footer({ theme }) { - const handleDownload = () => { - const link = document.createElement('a'); - link.href = '/public/resume_eng.pdf'; - link.download = 'alejandrolaguna_resume_eng.pdf'; - link.click(); - }; - return ( ); } +