diff --git a/src/components/forms/SearchInput.tsx b/src/components/forms/SearchInput.tsx index edd737352f..5bf2a07596 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(() => {