mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fix #594
This commit is contained in:
@ -218,7 +218,7 @@ const ParseHTML = React.memo(
|
||||
if (children) {
|
||||
return (
|
||||
<ParseEmojis
|
||||
content={children.toString()}
|
||||
content={children?.toString()}
|
||||
emojis={emojis}
|
||||
size={size}
|
||||
adaptiveSize={adaptiveSize}
|
||||
|
@ -54,7 +54,7 @@ const TimelineTranslate = () => {
|
||||
<CustomText fontStyle='S' style={{ color: colors.secondary }}>{` Source: ${
|
||||
detected?.language
|
||||
}; Confidence: ${
|
||||
detected?.confidence.toString().slice(0, 5) || 'null'
|
||||
detected?.confidence?.toString().slice(0, 5) || 'null'
|
||||
}; Target: ${targetLanguage}`}</CustomText>
|
||||
) : null
|
||||
}
|
||||
|
Reference in New Issue
Block a user