We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c9a3b9 + 143237a commit ba08b6aCopy full SHA for ba08b6a
src/pages/download.astro
@@ -7,11 +7,10 @@ import DonationSection from "../components/download/donation-section.tsx";
7
const api = new NetLogoApi();
8
9
const pageData = await api.getDownloadPageData()
10
-const randomIndex = Math.floor(Math.random() * pageData.donation_data.length);
11
12
---
13
14
<Layout show_footer_buttons={false}>
15
<DownloadSection downloadData = {pageData["netlogo_versions"]} client:load/>
16
- <DonationSection donationData = {pageData["donation_data"][randomIndex]} client:load/>
+ <DonationSection donationArray = {pageData["donation_data"]} client:load/>
17
</Layout>
0 commit comments