Skip to content

Commit

Permalink
Merge pull request #67 from imWildCat/main
Browse files Browse the repository at this point in the history
chore: add dependency array for useAnimatedStyle
  • Loading branch information
gunnartorfis authored Sep 10, 2024
2 parents c471a97 + eda0efb commit ca14150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gestures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const ToastSwipeHandler: React.FC<
[1, 0]
),
};
});
}, [direction, translate]);

return (
<GestureDetector gesture={pan}>
Expand Down

0 comments on commit ca14150

Please sign in to comment.