diff --git a/apps/comments-ui/src/components/content/CTABox.tsx b/apps/comments-ui/src/components/content/CTABox.tsx index e4b988342c..6290d728cb 100644 --- a/apps/comments-ui/src/components/content/CTABox.tsx +++ b/apps/comments-ui/src/components/content/CTABox.tsx @@ -6,7 +6,7 @@ type Props = { isPaid: boolean }; const CTABox: React.FC = ({isFirst, isPaid}) => { - const {accentColor, publication, member, t} = useAppContext(); + const {accentColor, publication, member, t, commentCount} = useAppContext(); const buttonStyle = { backgroundColor: accentColor @@ -16,7 +16,7 @@ const CTABox: React.FC = ({isFirst, isPaid}) => { color: accentColor }; - const titleText = (isFirst ? t('Start the conversation') : t('Join the discussion')); + const titleText = (commentCount === 0 ? t('Start the conversation') : t('Join the discussion')); const handleSignUpClick = () => { window.location.href = (isPaid && member) ? '#/portal/account/plans' : '#/portal/signup';