fix(FontApplicator): remove unused prop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user