0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Updated the included comment count to be dynamic

- Before it was static, with an X, but now using the variable available
- Do note, this doesn't seem to be showing the right number

refs https://github.com/TryGhost/Team/issues/1695
This commit is contained in:
James Morris 2022-07-27 14:03:50 +01:00
parent ffabb79703
commit c69409cbac

View file

@ -24,7 +24,7 @@ const CommentsBoxContent = (props) => {
{/* {TODO: Put in conditionals and variables for the new comment helper} */}
<div className="w-full flex justify-between items-baseline font-sans mb-10">
<h2 className="font-bold text-[2.8rem] tracking-tight">Member discussion</h2>
<div className="text-neutral-400 text-[1.6rem] font-medium">x comments</div>
<div className="text-neutral-400 text-[1.6rem] font-medium">{commentsCount} comments</div>
</div>
<Pagination />
<div className={!pagination ? 'mt-4' : ''}>