1
0
Fork 0
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:
Fedor Katurov 2019-11-29 12:32:44 +07:00
parent 59d544c5f4
commit cf30f13eff
5 changed files with 49 additions and 11 deletions

View file

@ -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>