Skip to content

Commit 3675606

Browse files
committed
Remove tags with single instance
1 parent 102b9b1 commit 3675606

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/pages/[locale]/developers/tutorials.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,11 @@ const TutorialPage = ({
374374
)}
375375
</Text>
376376
<Text className="text-body-medium">{tutorial.description}</Text>
377-
<Flex className="w-full flex-wrap">
378-
<TutorialTags tags={tutorial.tags ?? []} />
379-
</Flex>
377+
{(tutorial.tags ?? []).length > 1 && (
378+
<Flex className="w-full flex-wrap">
379+
<TutorialTags tags={tutorial.tags ?? []} />
380+
</Flex>
381+
)}
380382
</LinkFlex>
381383
)
382384
})}

0 commit comments

Comments
 (0)