Fix no expand button bug

This commit is contained in:
saltrafael 2021-08-04 09:44:36 -03:00 committed by Thomas Zarebczan
parent 2cb950b6d8
commit 60f4cca007

View file

@ -319,7 +319,7 @@ function CommentList(props: Props) {
{isMobile && ( {isMobile && (
<div className="card__bottom-actions--comments"> <div className="card__bottom-actions--comments">
{moreBelow && ( {(!expandedComments || moreBelow) && (
<Button <Button
button="link" button="link"
title={!expandedComments ? __('Expand Comments') : __('Load More')} title={!expandedComments ? __('Expand Comments') : __('Load More')}