Skip to content

Commit 094bad8

Browse files
committed
fix: deps
1 parent 7dda0da commit 094bad8

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

package/src/components/Message/MessageSimple/MessageSimple.tsx

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,15 @@ const MessageSimpleWithContext = <
287287
) : null}
288288
</View>
289289
),
290-
// eslint-disable-next-line react-hooks/exhaustive-deps
291-
[messageContentWidth, reactionListPosition],
290+
[
291+
messageContentWidth,
292+
reactionListPosition,
293+
MessageContent,
294+
ReactionListTop,
295+
backgroundColor,
296+
contentWrapper,
297+
noBorder,
298+
],
292299
);
293300

294301
const renderAnimatedMessageBubble = useMemo(
@@ -304,8 +311,16 @@ const MessageSimpleWithContext = <
304311
</View>
305312
</GestureDetector>
306313
),
307-
// eslint-disable-next-line react-hooks/exhaustive-deps
308-
[reactionListPosition, messageContentWidth],
314+
[
315+
MessageSwipeContent,
316+
contentWrapper,
317+
messageBubbleAnimatedStyle,
318+
messageSwipeToReplyHitSlop,
319+
renderMessageBubble,
320+
swipeContentAnimatedStyle,
321+
swipeContentContainer,
322+
swipeGesture,
323+
],
309324
);
310325

311326
return (

0 commit comments

Comments
 (0)