Commit 1d1b15f4 authored by Kristie Huang's avatar Kristie Huang Committed by GitHub

fix: android banner DownloadButton onClick should not propagate up (#7611)

* android banner link - remove linktarget

* stop propagation?

* linter
parent 1ffaf723
......@@ -48,7 +48,12 @@ export default function AndroidAnnouncementBanner() {
<ThemedText.LabelMicro>
<Trans>Available now - download from the Google Play Store today</Trans>
</ThemedText.LabelMicro>
<DownloadButton onClick={onClick}>
<DownloadButton
onClick={(e) => {
e.stopPropagation()
onClick()
}}
>
<Trans>Download now</Trans>
</DownloadButton>
</TextContainer>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment