Fix unexpected text node error
This commit is contained in:
@@ -32,7 +32,7 @@ export function SearchInput({
|
|||||||
}: Props) {
|
}: Props) {
|
||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
const {t: l} = useLingui()
|
const {t: l} = useLingui()
|
||||||
const showClear = value && value.length > 0
|
const showClear = !!value && value.length > 0
|
||||||
const internalRef = useRef<React.ComponentRef<typeof TextInput>>(null)
|
const internalRef = useRef<React.ComponentRef<typeof TextInput>>(null)
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user