fix: Remove unnecessary condition in PremiumTable SearchInput
This commit is contained in:
@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user