#47 - Fix showing 0 on word count

This commit is contained in:
Elio Struyf
2021-08-05 16:09:56 +02:00
parent a2d6d361d6
commit e1429bc666
+1 -1
View File
@@ -54,7 +54,7 @@ export const SeoStatus: React.FunctionComponent<ISeoStatusProps> = (props: React
}
{
(seo.content > 0 && data?.articleDetails?.wordCount) && (
(seo.content > 0 && data?.articleDetails?.wordCount > 0) && (
<SeoFieldInfo title={`Article length`} value={data?.articleDetails?.wordCount} recommendation={`${seo.content} words`} />
)
}