Skip to content

Commit

Permalink
fix(islamic-coin): fix team members render conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshilov committed May 7, 2024
1 parent cf11136 commit 2d575aa
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function TeamPage({
team?: Member[];
}) {
const t = useTranslations('team-page');

return (
<section className="overflow-x-clip">
<Container className="relative">
Expand All @@ -40,14 +41,14 @@ export function TeamPage({
{t('title.founders')}
</h1>

{founders && (
{founders !== undefined && founders.length > 0 && (
<MembersContainer
members={founders}
className="my-[32px] lg:my-[100px]"
/>
)}

{team && team.length && (
{team !== undefined && team.length > 0 && (
<Fragment>
<h1 className="text-[46px] font-[600] leading-[52px] md:text-[60px] md:leading-none lg:text-[80px]">
{t('title.team')}
Expand Down

0 comments on commit 2d575aa

Please sign in to comment.