From 91209582ccd1d38ce1d0dfd856a917d685136ea6 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Fri, 17 Apr 2026 15:04:43 +0000
Subject: fix(ui): hide follow-fix toggle link until a username is entered

Previously the link rendered "Toggle follow for ..." and was clickable
with an empty submission. Only render once the input has content so
there is no dead affordance.
---
 src/lib/Tools/FollowFix.svelte | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'src/lib/Tools/FollowFix.svelte')

diff --git a/src/lib/Tools/FollowFix.svelte b/src/lib/Tools/FollowFix.svelte
index c072cf5e..6c599569 100644
--- a/src/lib/Tools/FollowFix.svelte
+++ b/src/lib/Tools/FollowFix.svelte
@@ -26,9 +26,11 @@ let submit = "";
         }
       }}
     />
-    <a href={'#'} onclick={() => (submit = input)}>
-      Toggle follow for {input.length === 0 ? '...' : input}
-    </a>
+    {#if input.length > 0}
+      <a href={'#'} onclick={() => (submit = input)}>
+        Toggle follow for {input}
+      </a>
+    {/if}
   </p>
 
   {#if submit.length > 0}
-- 
cgit v1.2.3

