fix: Remove unnecessary condition in PremiumTable SearchInput
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled

This commit is contained in:
2025-12-10 20:34:09 +01:00
parent 157ed1a9df
commit 17f809da5f

View File

@ -463,7 +463,7 @@ export function SearchInput({
text-sm text-foreground placeholder:text-foreground-subtle text-sm text-foreground placeholder:text-foreground-subtle
focus:outline-none focus:border-accent/50 focus:bg-background-secondary/80 transition-all" focus:outline-none focus:border-accent/50 focus:bg-background-secondary/80 transition-all"
/> />
{value && (onClear || onChange) && ( {value && (
<button <button
onClick={() => onClear ? onClear() : onChange('')} onClick={() => onClear ? onClear() : onChange('')}
className="absolute right-3 top-1/2 -translate-y-1/2 text-foreground-subtle hover:text-foreground transition-colors" className="absolute right-3 top-1/2 -translate-y-1/2 text-foreground-subtle hover:text-foreground transition-colors"