Fix system specs (#206)

This commit is contained in:
Riccardo Graziosi
2023-03-19 19:57:53 +01:00
committed by GitHub
parent 756d6d9919
commit ce21d660d1
19 changed files with 193 additions and 202 deletions

View File

@@ -39,6 +39,7 @@ const CommentFooter = ({
<ActionLink
onClick={handleToggleCommentReply}
icon={replyForm.isOpen ? <CancelIcon /> : <ReplyIcon />}
customClass={replyForm.isOpen ? 'cancelAction' : 'replyAction'}
>
{
replyForm.isOpen ?

View File

@@ -38,13 +38,14 @@ const PostFooter = ({
{
isPowerUser || authorEmail === currentUserEmail ?
<div className="postFooterActions">
<ActionLink onClick={toggleEditMode} icon={<EditIcon />}>
<ActionLink onClick={toggleEditMode} icon={<EditIcon />} customClass='editAction'>
{I18n.t('common.buttons.edit')}
</ActionLink>
<ActionLink
onClick={() => confirm(I18n.t('common.confirmation')) && handleDeletePost()}
icon={<DeleteIcon />}
customClass='deleteAction'
>
{I18n.t('common.buttons.delete')}
</ActionLink>