From 1141ff6a6b5de4b6ef8ba6637b448e11fdc2e6f6 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 25 Dec 2023 17:31:50 -0800
Subject: fix(tools): direct on default

---
 src/routes/tools/+page.svelte | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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

diff --git a/src/routes/tools/+page.svelte b/src/routes/tools/+page.svelte
index 34bb4f00..b55b7e7d 100644
--- a/src/routes/tools/+page.svelte
+++ b/src/routes/tools/+page.svelte
@@ -64,10 +64,10 @@
 		<p>Select a tool to continue.</p>
 
 		<ul>
-			{#each Object.keys(tools) as tool}
-				{#if tool !== 'default'}
+			{#each Object.keys(tools) as t}
+				{#if t !== 'default'}
 					<li>
-						<a href={`?tool=${tool}`}>{tools[tool]}</a>
+						<a href={`#`} on:click={() => (tool = t)}>{tools[t]}</a>
 					</li>
 				{/if}
 			{/each}
-- 
cgit v1.2.3

