Skip to content

Commit

Permalink
[FIX] Search messages crashing when show a thread message (#2618)
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Mello <[email protected]>
  • Loading branch information
djorkaeffalexandre and diegolmello authored Nov 6, 2020
1 parent f728667 commit 192f3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/containers/message/Thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Thread = React.memo(({
} = useContext(MessageContext);
const time = formatDateThreads(tlm);
const buttonText = formatMessageCount(tcount, THREAD);
const badgeColor = getBadgeColor(id);
const badgeColor = getBadgeColor?.(id);
const isFollowing = replies?.find(u => u === user.id);
return (
<View style={styles.buttonContainer}>
Expand Down

0 comments on commit 192f3f1

Please sign in to comment.