fix: android banner DownloadButton onClick should not propagate up (#7611)
* android banner link - remove linktarget * stop propagation? * linter
This commit is contained in:
parent
1ffaf723de
commit
1d1b15f4ac
@ -48,7 +48,12 @@ export default function AndroidAnnouncementBanner() {
|
|||||||
<ThemedText.LabelMicro>
|
<ThemedText.LabelMicro>
|
||||||
<Trans>Available now - download from the Google Play Store today</Trans>
|
<Trans>Available now - download from the Google Play Store today</Trans>
|
||||||
</ThemedText.LabelMicro>
|
</ThemedText.LabelMicro>
|
||||||
<DownloadButton onClick={onClick}>
|
<DownloadButton
|
||||||
|
onClick={(e) => {
|
||||||
|
e.stopPropagation()
|
||||||
|
onClick()
|
||||||
|
}}
|
||||||
|
>
|
||||||
<Trans>Download now</Trans>
|
<Trans>Download now</Trans>
|
||||||
</DownloadButton>
|
</DownloadButton>
|
||||||
</TextContainer>
|
</TextContainer>
|
||||||
|
Loading…
Reference in New Issue
Block a user