Commit 950dc8e
authored
Fix Easing import in LongPress example (#4298)
## Description
`Easing` should be imported from `react-native-reanimated` instead of
`react-native`. `Easing` from `react-native` is not a worklet like the
one from `react-native-reanimated`.
Using `Easing` from `react-native` here throws an error `[Worklets]
Tried to synchronously call a Remote Function. Called "BezierEasing" on
the UI Runtime`1 parent 8b5d4a0 commit 950dc8e
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments