From 166866b5f562c662557f53c6c211f395b02806da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Kapu=C5=9Bciak?= <39658211+kacperkapusciak@users.noreply.github.com> Date: Wed, 5 Jun 2024 11:43:45 +0200 Subject: [PATCH] Remove redundant 'worklet'; in `useComposedEventHandler` docs --- docs/docs/advanced/useComposedEventHandler.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/docs/advanced/useComposedEventHandler.mdx b/docs/docs/advanced/useComposedEventHandler.mdx index 9dcc052c48e..f7b22edcc82 100644 --- a/docs/docs/advanced/useComposedEventHandler.mdx +++ b/docs/docs/advanced/useComposedEventHandler.mdx @@ -17,14 +17,12 @@ import Animated, { function ComposedEventHandlerExample() { const onScrollHandler1 = useAnimatedScrollHandler({ onScroll(e) { - 'worklet'; console.log('Scroll handler 1 onScroll event'); }, }); const onScrollHandler2 = useAnimatedScrollHandler({ onScroll(e) { - 'worklet'; console.log('Scroll handler 2 onScroll event'); }, });