From 1d1b15f4acd0fc070dfaee8e743b75c6cc3422e9 Mon Sep 17 00:00:00 2001 From: Kristie Huang Date: Mon, 20 Nov 2023 12:36:02 -0500 Subject: [PATCH] fix: android banner DownloadButton onClick should not propagate up (#7611) * android banner link - remove linktarget * stop propagation? * linter --- src/components/Banner/AndroidAnnouncementBanner/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/Banner/AndroidAnnouncementBanner/index.tsx b/src/components/Banner/AndroidAnnouncementBanner/index.tsx index 420a769796..db834e20a5 100644 --- a/src/components/Banner/AndroidAnnouncementBanner/index.tsx +++ b/src/components/Banner/AndroidAnnouncementBanner/index.tsx @@ -48,7 +48,12 @@ export default function AndroidAnnouncementBanner() { Available now - download from the Google Play Store today - + { + e.stopPropagation() + onClick() + }} + > Download now