From 88d50100bbe34ef7030dde0ea0de52e3a855c9f4 Mon Sep 17 00:00:00 2001 From: Oleksii Bulenok Date: Mon, 10 Aug 2026 16:44:20 +0200 Subject: [PATCH] Fix unexpected text node error --- src/components/forms/SearchInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(() => {