Skip to content

Commit 64a1f3e

Browse files
Added Discord button to +page.svelte with separate fetch call
1 parent 2444965 commit 64a1f3e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/routes/essentials/+page.svelte

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,15 @@
4747
fetch("/open-pamac/package/vesktop")
4848
}}>
4949
<Icon class="me-3" icon="ic:baseline-discord" width="24" height="24" />
50-
Vesktop (Discord)
50+
Vesktop
51+
</GDLButton>
52+
53+
54+
<GDLButton on:click={() => {
55+
fetch("/open-pamac/package/discord")
56+
}}>
57+
<Icon class="me-3" icon="ic:baseline-discord" width="24" height="24" />
58+
Discord
5159
</GDLButton>
5260

5361

0 commit comments

Comments
 (0)