Skip to content

Commit

Permalink
Merge pull request #21341 from Expensify/cmartins-fixConsoleError
Browse files Browse the repository at this point in the history
Pass empty function to PressableWithSecondaryInteraction
  • Loading branch information
luacmartins authored Jun 22, 2023
2 parents 56f699f + dfc0d5f commit 023c327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Pressable/GenericPressable/PropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const pressablePropTypes = {
};

const defaultProps = {
onPress: undefined,
onPress: () => {},
keyboardShortcut: undefined,
shouldUseHapticsOnPress: false,
shouldUseHapticsOnLongPress: false,
Expand Down

0 comments on commit 023c327

Please sign in to comment.