mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Fix system specs (#206)
This commit is contained in:
committed by
GitHub
parent
756d6d9919
commit
ce21d660d1
@@ -39,6 +39,7 @@ const CommentFooter = ({
|
||||
<ActionLink
|
||||
onClick={handleToggleCommentReply}
|
||||
icon={replyForm.isOpen ? <CancelIcon /> : <ReplyIcon />}
|
||||
customClass={replyForm.isOpen ? 'cancelAction' : 'replyAction'}
|
||||
>
|
||||
{
|
||||
replyForm.isOpen ?
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user