From 7fecba7fcafbddcb92111683de746b4206e2f5c3 Mon Sep 17 00:00:00 2001 From: Roman Ustiantsev Date: Sat, 8 Feb 2025 18:08:56 +0300 Subject: [PATCH] fix: ts --- app/components/ATextInput.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/components/ATextInput.tsx b/app/components/ATextInput.tsx index 4c538de1d..efeba1cde 100644 --- a/app/components/ATextInput.tsx +++ b/app/components/ATextInput.tsx @@ -123,7 +123,7 @@ export interface ATextInputProps { inputMode?: InputModeOptions, cursorColor?: string, maxHeight?: number - onStartShouldSetResponder?: ((event: GestureResponderEvent) => boolean) | undefined + onStartShouldSetResponder?: (event: GestureResponderEvent) => boolean } export const ATextInput = memo(forwardRef((props: ATextInputProps, ref: ForwardedRef) => { @@ -173,7 +173,6 @@ export const ATextInput = memo(forwardRef((props: ATextInputProps, ref: Forwarde const labelHeight = useSharedValue(0); const labelWidth = useSharedValue(1); - const withLabel = !!props.label; const valueNotEmpty = (props.value?.length || 0) > 0;