Describe the bug
Always get this warning
Working well, but I have this warning
[react-native-gesture-handler] None of the callbacks in the gesture are worklets. If you wish to run them on the JS thread use '.runOnJS(true)' modifier on the gesture to make this explicit. Otherwise, mark the callbacks as 'worklet' to run them on the UI thread.
To Reproduce
Steps to reproduce the behavior:
Just install and show toast
Expected behavior
Without warning
Screenshots
If applicable, add screenshots to help explain your problem.
Environment info
Library
Version
sonner-native
0.14.1
react-native
0.75.3
react-native-reanimated
3.15.2
react-native-gesture-handler
2.19.0
Additional context
Add any other context about the problem here.
Describe the bug Always get this warning Working well, but I have this warning [react-native-gesture-handler] None of the callbacks in the gesture are worklets. If you wish to run them on the JS thread use '.runOnJS(true)' modifier on the gesture to make this explicit. Otherwise, mark the callbacks as 'worklet' to run them on the UI thread.
To Reproduce Steps to reproduce the behavior:
Expected behavior Without warning
Screenshots If applicable, add screenshots to help explain your problem.
Environment info
Additional context Add any other context about the problem here.