1
0
Fork 0
forked from Mirrors/gomuks

Remove button for unredact

Signed-off-by: n <me@everypizza.im>
This commit is contained in:
Nyx 2025-03-19 13:46:30 -05:00
parent 7c5ab68cf2
commit 338c7d9adc

View file

@ -181,10 +181,5 @@ export const useSecondaryItems = (
title={pendingTitle}
className="redact-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>)}
</>
}