From c45c872de628eb23e72302ae1ac67bdaaff94e1f Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 4 Jul 2025 13:17:06 +0100 Subject: [PATCH] Fix duplicate download buttons --- src/components/Authenticator/authenticator.ts | 2 +- src/components/BestPracticeHeader.astro | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Authenticator/authenticator.ts b/src/components/Authenticator/authenticator.ts index f5ba16b11..03326a53b 100644 --- a/src/components/Authenticator/authenticator.ts +++ b/src/components/Authenticator/authenticator.ts @@ -4,7 +4,7 @@ import { REDIRECT_PAGE_AFTER_AUTH } from '../../lib/auth'; function easeInElement(el: Element) { el.classList.add('opacity-0', 'transition-opacity', 'duration-300'); - el.classList.remove('hidden'); + el.classList.remove('hidden', 'hidden!'); setTimeout(() => { el.classList.remove('opacity-0'); }); diff --git a/src/components/BestPracticeHeader.astro b/src/components/BestPracticeHeader.astro index df7a253d6..be172a228 100644 --- a/src/components/BestPracticeHeader.astro +++ b/src/components/BestPracticeHeader.astro @@ -49,7 +49,7 @@ const isBestPracticeReady = !isUpcoming;