zio/stable
Paul Frazee 2023-12-04 15:08:34 -08:00
parent f1cfea5786
commit 8e2cfa52de
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ export function ContentHider({
)
}
const isMute = moderation.cause.type === 'muted'
const isMute = moderation.cause?.type === 'muted'
const desc = describeModerationCause(moderation.cause, 'content')
return (
<View testID={testID} style={[styles.outer, style]}>

View File

@ -47,7 +47,7 @@ export function PostHider({
)
}
const isMute = moderation.cause.type === 'muted'
const isMute = moderation.cause?.type === 'muted'
const desc = describeModerationCause(moderation.cause, 'content')
return !override ? (
<Pressable