diff --git a/src/gestures.tsx b/src/gestures.tsx index 6e9c1f4..784f17d 100644 --- a/src/gestures.tsx +++ b/src/gestures.tsx @@ -107,7 +107,7 @@ export const ToastSwipeHandler: React.FC< [1, 0] ), }; - }); + }, [direction, translate]); return (