mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
comment deletion
This commit is contained in:
parent
59d544c5f4
commit
cf30f13eff
5 changed files with 49 additions and 11 deletions
|
@ -38,7 +38,7 @@ const CommentContent: FC<IProps> = memo(({ comment, can_edit, onDelete }) => {
|
|||
const lock = useMemo(
|
||||
() =>
|
||||
can_edit ? (
|
||||
<div className={styles.lock}>
|
||||
<div className={styles.lock} onClick={onLockClick}>
|
||||
<div>
|
||||
<Icon icon="close" />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue