mirror of
https://github.com/UofCBaja/BajaUofCWebsite.git
synced 2025-06-15 13:24:17 -06:00
added OurSponsors: comments to ? : statement
This commit is contained in:
parent
8f615d4f1b
commit
ed09013129
@ -92,11 +92,12 @@ const OurSponsors = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div id="Sponsor">
|
<div id="Sponsor">
|
||||||
<h2 className="SponsorsTitle">Current Sponsors</h2>
|
<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 ? (
|
{currentSponsorsDict === undefined ? (
|
||||||
<p>Loading...</p>
|
<p>Loading...</p>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
|
{/* gets the outmost name of the Object Name of tier*/}
|
||||||
{Object.keys(currentSponsorsDict).map((sponsorsTier) => {
|
{Object.keys(currentSponsorsDict).map((sponsorsTier) => {
|
||||||
return (
|
return (
|
||||||
<div className="Sponsors">
|
<div className="Sponsors">
|
||||||
@ -151,6 +152,7 @@ const OurSponsors = () => {
|
|||||||
id="SponsorEnd">
|
id="SponsorEnd">
|
||||||
Past Sponsors
|
Past Sponsors
|
||||||
</h2>
|
</h2>
|
||||||
|
{/* shows past sponsors only when recieved, do not duplicate the sponsors from current ones */}
|
||||||
{pastSponsorsDict === undefined ? (
|
{pastSponsorsDict === undefined ? (
|
||||||
<p>Loading...</p>
|
<p>Loading...</p>
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user