mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-20 21:48:42 -04:00
Fix type error in src/components/SharedComponents/Buttons/GradientButton.tsx.
This commit is contained in:
@@ -25,9 +25,9 @@ const GradientButton = ( {
|
||||
iconName,
|
||||
iconSize
|
||||
}: Props ) => {
|
||||
const handleLongPress = _event => {
|
||||
const handleLongPress = ( event: GestureResponderEvent ) => {
|
||||
if ( onLongPress ) {
|
||||
onLongPress( _event );
|
||||
onLongPress( event );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user