Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
coado committed Dec 20, 2024
1 parent ab47e54 commit 77ecb6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Pressable/Pressable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,9 @@ export default function Pressable(props: PressableProps) {

if (shouldPreventNativeEffects.current) {
shouldPreventNativeEffects.current = false;
if (!handlingOnTouchesDown.current) return;
if (!handlingOnTouchesDown.current) {
return;
}
}

isTouchPropagationAllowed.current = true;
Expand Down

0 comments on commit 77ecb6d

Please sign in to comment.