fix: Remove unnecessary condition in PremiumTable SearchInput

This commit is contained in:
2025-12-10 20:34:09 +01:00
parent 0717a8dd66
commit 683fe45aff

View File

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