Skip to content

best way to save what you love

web/DonateShareCard: fix unrelated buttons triggering the copy anim

wukkoe7386234bca3
diff --git a/web/src/components/donate/DonateShareCard.svelte b/web/src/components/donate/DonateShareCard.svelte
index 41f8b687..87ec2109 100644
--- a/web/src/components/donate/DonateShareCard.svelte
+++ b/web/src/components/donate/DonateShareCard.svelte
@@ -64,10 +64,7 @@
<button
id="action-button-github"
class="action-button"
- on:click={async () => {
- openURL(contacts.github);
- copied = true;
- }}
+ on:click={async () => openURL(contacts.github)}
>
<div class="action-button-icon">
<IconBrandGithub />
@@ -78,10 +75,7 @@
<button
id="action-button-twitter"
class="action-button"
- on:click={async () => {
- openURL(contacts.twitter);
- copied = true;
- }}
+ on:click={async () => openURL(contacts.twitter)}
>
<div class="action-button-icon">
<IconBrandTwitter />