[FIX] Search messages crashing when show a thread message (#2618)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
f7286675c3
commit
192f3f1aa0
|
@ -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}>
|
||||
|
|
Loading…
Reference in New Issue