Skip to content

Commit

Permalink
Merge pull request #286 from ShubhamParkhi/master
Browse files Browse the repository at this point in the history
feat(web): July treasury and risk reports
  • Loading branch information
jaybuidl authored Aug 7, 2024
2 parents e134e8c + 04039b0 commit 198f65e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/pages/treasury.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ import styles from "./styles/treasury.module.css";
import TreasuryReportsImage from "src/assets/svgs/treasury-reports.svg";

const MONTHS = [
{
month: "July",
year: "2024",
treasuryReport: "QmPoVgMsXrwZYAtpafN2vQqw8kW44iDTJ6KzRXguNjbiAm/july-monthly-portfolio-snapshot-2024-july-2024.pdf",
riskReport: "QmZmRczFzbGaHxKpALSq54FLT39aacSGR3oCEN2yNrLCFD/july-redefine-risk-center.pdf",
},
{
month: "June",
year: "2024",
treasuryReport: "QmcTr9t2iqF6LWWAe34amdFS3WxuvUHvauEU6HpgZuMowW/monthly-portfolio-snapshot-2024-june-2024-1-.pdf",
treasuryReport: "QmQMuDCBoyYMh3hvEiKiW6vKpz1mB4p535GvEhrkEmJr1o/june-24.-20-treasury-report.pdf",
riskReport: "QmPfeTLgPJnsDEGTU5sKC2Zwm9LEHxqnasGdXsizw93cfx/june-risk-report-redefine-risk-center.-june07-01-2024.pdf",
},
{
Expand Down Expand Up @@ -138,7 +144,7 @@ const AnyQuestions = () => {

const ReportSelection = ({ type }) => {
const [selectedYear, setSelectedYear] = useState("2024");
const [selectedMonth, setSelectedMonth] = useState("June");
const [selectedMonth, setSelectedMonth] = useState("July");

const availableYears = type === "treasuryReport"
? [...new Set(MONTHS.map((m) => m.year))].sort().reverse()
Expand Down

0 comments on commit 198f65e

Please sign in to comment.