Skip to content

Commit 0c2e064

Browse files
committed
Fix 0s in old UI (was it always like this?)
1 parent 6f10ec0 commit 0c2e064

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/app/conf/2024/sponsors.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function Sponsors() {
9999
<div id="sponsors" className="bg-conf-black">
100100
<div className="conf-block container">
101101
<h1 className={classes.title}>Thanks to our 2024 sponsors!</h1>
102-
{sponsorDiamond.length && (
102+
{sponsorDiamond.length > 0 && (
103103
<>
104104
<h3 className={classes.heading}>Diamond</h3>
105105
<List
@@ -109,7 +109,7 @@ export function Sponsors() {
109109
/>
110110
</>
111111
)}
112-
{sponsorPlatinum.length && (
112+
{sponsorPlatinum.length > 0 && (
113113
<>
114114
<h3 className={classes.heading}>Platinum</h3>
115115
<List
@@ -119,7 +119,7 @@ export function Sponsors() {
119119
/>{" "}
120120
</>
121121
)}
122-
{sponsorGold.length && (
122+
{sponsorGold.length > 0 && (
123123
<>
124124
<h3 className={classes.heading}>Gold</h3>
125125
<List
@@ -129,7 +129,7 @@ export function Sponsors() {
129129
/>
130130
</>
131131
)}
132-
{sponsorSilver.length && (
132+
{sponsorSilver.length > 0 && (
133133
<>
134134
<h3 className={classes.heading}>Silver</h3>
135135
<List
@@ -139,7 +139,7 @@ export function Sponsors() {
139139
/>
140140
</>
141141
)}
142-
{workshopDaySponsors.length && (
142+
{workshopDaySponsors.length > 0 && (
143143
<>
144144
<h3 className={classes.heading}>Workshop Day Sponsor</h3>
145145
<List

0 commit comments

Comments
 (0)