forked from Mirrors/gomuks
Remove button for unredact
Signed-off-by: n <me@everypizza.im>
This commit is contained in:
parent
7c5ab68cf2
commit
338c7d9adc
1 changed files with 0 additions and 5 deletions
|
@ -181,10 +181,5 @@ export const useSecondaryItems = (
|
||||||
title={pendingTitle}
|
title={pendingTitle}
|
||||||
className="redact-button"
|
className="redact-button"
|
||||||
><DeleteIcon/>{names && "Remove"}</button>}
|
><DeleteIcon/>{names && "Remove"}</button>}
|
||||||
{canUnredact && (evt.viewing_redacted ? <button onClick={onClickHideUnredacted}>
|
|
||||||
<DeleteIcon/>{names && "Hide content"}
|
|
||||||
</button> : <button onClick={onClickUnredact}>
|
|
||||||
<RestoreTrashIcon/>{names && "View content"}
|
|
||||||
</button>)}
|
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue