Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
agent3bood committed Feb 28, 2024
1 parent 43f7693 commit 720a759
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions src/pages/iou/request/step/IOURequestStepParticipants.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 720a759

Please sign in to comment.