Skip to content

Commit

Permalink
Remove unused hook dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lourou committed Aug 27, 2024
1 parent b91b890 commit 1030ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ConversationListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const ConversationListItem = memo(function ConversationListItem({
return () => {
navigation.removeListener("transitionEnd", resetSelected);
};
}, [navigation, resetSelected, isGroupConversation]);
}, [navigation, resetSelected]);

const avatarComponent = useMemo(() => {
return isGroupConversation ? (
Expand Down

0 comments on commit 1030ffa

Please sign in to comment.