'inReview' -> 'isUnderReview'
This commit is contained in:
parent
8208518e2c
commit
5f83ba9324
1 changed files with 3 additions and 3 deletions
|
@ -296,7 +296,7 @@ const Status: React.FC<IStatus> = (props) => {
|
||||||
|
|
||||||
const accountAction = props.accountAction || reblogElement;
|
const accountAction = props.accountAction || reblogElement;
|
||||||
|
|
||||||
const inReview = actualStatus.visibility === 'self';
|
const isUnderReview = actualStatus.visibility === 'self';
|
||||||
const isSensitive = actualStatus.hidden;
|
const isSensitive = actualStatus.hidden;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -354,11 +354,11 @@ const Status: React.FC<IStatus> = (props) => {
|
||||||
<Stack
|
<Stack
|
||||||
className={
|
className={
|
||||||
classNames('relative', {
|
classNames('relative', {
|
||||||
'min-h-[220px]': inReview || isSensitive,
|
'min-h-[220px]': isUnderReview || isSensitive,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{(inReview || isSensitive) && (
|
{(isUnderReview || isSensitive) && (
|
||||||
<SensitiveContentOverlay
|
<SensitiveContentOverlay
|
||||||
status={status}
|
status={status}
|
||||||
visible={showMedia}
|
visible={showMedia}
|
||||||
|
|
Loading…
Reference in a new issue