From 720a759f69d9e72f7bdd02815f99f8328742fcdb Mon Sep 17 00:00:00 2001 From: Abdullah Alsigar Date: Wed, 28 Feb 2024 19:59:39 +0300 Subject: [PATCH] lint --- .../Pressable/GenericPressable/BaseGenericPressable.tsx | 9 ++++++--- src/pages/iou/request/step/IOURequestStepParticipants.js | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/Pressable/GenericPressable/BaseGenericPressable.tsx b/src/components/Pressable/GenericPressable/BaseGenericPressable.tsx index 647c0fcb975a..907aa2f8ae01 100644 --- a/src/components/Pressable/GenericPressable/BaseGenericPressable.tsx +++ b/src/components/Pressable/GenericPressable/BaseGenericPressable.tsx @@ -116,9 +116,12 @@ function GenericPressable( [shouldUseHapticsOnPress, onPress, nextFocusRef, ref, isDisabled], ); - const onKeyboardShortcutPressHandler = useCallback((event?: GestureResponderEvent | KeyboardEvent) => { - onPressHandler(event); - }, [onPressHandler]); + const onKeyboardShortcutPressHandler = useCallback( + (event?: GestureResponderEvent | KeyboardEvent) => { + onPressHandler(event); + }, + [onPressHandler], + ); useEffect(() => { if (!keyboardShortcut) { diff --git a/src/pages/iou/request/step/IOURequestStepParticipants.js b/src/pages/iou/request/step/IOURequestStepParticipants.js index a6f3563bd486..25fe58585478 100644 --- a/src/pages/iou/request/step/IOURequestStepParticipants.js +++ b/src/pages/iou/request/step/IOURequestStepParticipants.js @@ -1,5 +1,6 @@ import lodashGet from 'lodash/get'; import React, {useCallback, useEffect, useRef} from 'react'; +import {Text} from 'react-native'; import transactionPropTypes from '@components/transactionPropTypes'; import useLocalize from '@hooks/useLocalize'; import compose from '@libs/compose';