Commit cb2bef4
committed
fix: ensure useOnProgressChange responds to new offsetX instance
Passing new offsetX instance to useOnProgressChange hook would not cause useAnimatedReaction hook to re-run despite it using that value. Adding this shared value as a dependency of the hook.1 parent 43a4c08 commit cb2bef4
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
0 commit comments