Skip to content

Commit

Permalink
chore: add dependency array for useAnimatedStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
imWildCat committed Sep 10, 2024
1 parent c64256a commit eda0efb
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 eda0efb

Please sign in to comment.