From 0e85851cfd76bab43ed860b28a6bdeac8ee99ecc Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Thu, 12 Feb 2026 11:21:04 +0300 Subject: [PATCH] fix(FontApplicator): remove unused prop --- src/entities/Font/ui/FontApplicator/FontApplicator.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/entities/Font/ui/FontApplicator/FontApplicator.svelte b/src/entities/Font/ui/FontApplicator/FontApplicator.svelte index 4126522..7c0fb0b 100644 --- a/src/entities/Font/ui/FontApplicator/FontApplicator.svelte +++ b/src/entities/Font/ui/FontApplicator/FontApplicator.svelte @@ -49,10 +49,7 @@ const status = $derived( ); // The "Show" condition: Font is loaded OR it errored out OR it's a noTouch preview (like in search) -const shouldReveal = $derived.by(() => { - if (noTouch) return true; - return status === 'loaded' || status === 'error'; -}); +const shouldReveal = $derived(status === 'loaded' || status === 'error'); const transitionClasses = $derived( prefersReducedMotion.current