chore: fixing typescript warning

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-03-16 17:55:39 +01:00
parent 533fa16de7
commit bbac7a2e13
@@ -102,7 +102,7 @@ export const TemplateCard = (props: TemplateCardProps) => {
content={template.metadata.description ?? 'No description'}
/>
</Box>
{template.metadata.tags?.length > 0 && (
{(template.metadata.tags?.length ?? 0) > 0 && (
<>
<Divider className={styles.margin} />
<Box>