prevent some defaults

This commit is contained in:
Jon Staab
2024-10-11 13:25:45 -07:00
parent 6fc3900786
commit a4af63f3a3
7 changed files with 37 additions and 28 deletions
+4 -1
View File
@@ -9,7 +9,10 @@
const profile = deriveProfile(value.pubkey)
const onClick = () => pushDrawer(ProfileDetail, {pubkey: value.pubkey})
const onClick = (e: Event) => {
e.stopPropagation()
pushDrawer(ProfileDetail, {pubkey: value.pubkey})
}
</script>
<Button on:click={onClick} class="link-content">