From 3969b8b376fcb9422b773e57a727ae1197b38470 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 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(() => {