diff --git a/react/features/base/ui/components/native/Input.tsx b/react/features/base/ui/components/native/Input.tsx index d569225f09..05b9f29f5d 100644 --- a/react/features/base/ui/components/native/Input.tsx +++ b/react/features/base/ui/components/native/Input.tsx @@ -80,31 +80,31 @@ const Input = forwardRef(({ const { nativeEvent: { text } } = e; onChange?.(text); - }, []); + }, [ onChange ]); const clearInput = useCallback(() => { onChange?.(''); - }, []); + }, [ onChange ]); const handleBlur = useCallback((e: NativeSyntheticEvent) => { setFocused(false); onBlur?.(e); - }, []); + }, [ onBlur ]); const handleFocus = useCallback((e: NativeSyntheticEvent) => { setFocused(true); onFocus?.(e); - }, []); + }, [ onFocus ]); const handleKeyPress = useCallback((e: NativeSyntheticEvent) => { onKeyPress?.(e); - }, []); + }, [ onKeyPress ]); const handleSubmitEditing = useCallback((e: NativeSyntheticEvent) => { const { nativeEvent: { text } } = e; onSubmitEditing?.(text); - }, []); + }, [ onSubmitEditing ]); return ( {label && { label }}