diff --git a/native/components/thread-ancestors-label.react.js b/native/components/thread-ancestors-label.react.js --- a/native/components/thread-ancestors-label.react.js +++ b/native/components/thread-ancestors-label.react.js @@ -50,11 +50,16 @@ return unread ? [styles.pathText, styles.unread] : styles.pathText; }, [styles.pathText, styles.unread, unread]); - return ( - - {ancestorPath} - + const threadAncestorsLabel = React.useMemo( + () => ( + + {ancestorPath} + + ), + [ancestorPath, ancestorPathStyle], ); + + return threadAncestorsLabel; } const unboundStyles = {