From 0ff96af1e3ea466f93335fb27f01c04251a97133 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 15 Feb 2024 11:14:31 -0800
Subject: fix(hololive): prevent default

---
 src/routes/hololive/+page.svelte | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'src/routes/hololive/+page.svelte')

diff --git a/src/routes/hololive/+page.svelte b/src/routes/hololive/+page.svelte
index dca0b14a..0fa87256 100644
--- a/src/routes/hololive/+page.svelte
+++ b/src/routes/hololive/+page.svelte
@@ -142,7 +142,13 @@
 					<div class="stream card">
 						{#if $identity.id !== -2}
 							<div class="pin-icon">
-								<a href={'#'} on:click={() => pinStream(live.streamer)}>
+								<a
+									href={'#'}
+									on:click={(e) => {
+										e.preventDefault();
+										pinStream(live.streamer);
+									}}
+								>
 									<Icon
 										icon={`pajamas:thumbtack${
 											pinnedStreams.includes(live.streamer) ? '-solid' : ''
-- 
cgit v1.2.3

