Unverified Commit 192f3f1a authored by Djorkaeff Alexandre's avatar Djorkaeff Alexandre Committed by GitHub
Browse files

[FIX] Search messages crashing when show a thread message (#2618)

Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
parent f7286675
......@@ -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}>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment