diff --git a/src/components/forms/SearchInput.tsx b/src/components/forms/SearchInput.tsx index c4a77069c7..8fcfd687b0 100644 --- a/src/components/forms/SearchInput.tsx +++ b/src/components/forms/SearchInput.tsx @@ -32,7 +32,7 @@ export function SearchInput({ }: Props) { const t = useTheme() const {t: l} = useLingui() - const showClear = value && value.length > 0 + const showClear = !!value && value.length > 0 const internalRef = useRef>(null) useEffect(() => {