added OurSponsors: comments to ? : statement

This commit is contained in:
darkicewolf50 2024-03-17 21:25:51 -06:00
parent 8f615d4f1b
commit ed09013129

View File

@ -92,11 +92,12 @@ const OurSponsors = () => {
</div>
<div id="Sponsor">
<h2 className="SponsorsTitle">Current Sponsors</h2>
{/* gets the outmost name of the Object Name of tier*/}
{/* shows the current sponsors only after the data has been recieved */}
{currentSponsorsDict === undefined ? (
<p>Loading...</p>
) : (
<>
{/* gets the outmost name of the Object Name of tier*/}
{Object.keys(currentSponsorsDict).map((sponsorsTier) => {
return (
<div className="Sponsors">
@ -151,6 +152,7 @@ const OurSponsors = () => {
id="SponsorEnd">
Past Sponsors
</h2>
{/* shows past sponsors only when recieved, do not duplicate the sponsors from current ones */}
{pastSponsorsDict === undefined ? (
<p>Loading...</p>
) : (