Skip to content

Commit

Permalink
Merge pull request #289 from ShubhamParkhi/master
Browse files Browse the repository at this point in the history
feat(web): August treasury and risk reports
  • Loading branch information
jaybuidl authored Sep 9, 2024
2 parents acf5d3a + 01e7d5c commit becd7ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pages/treasury.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ import styles from "./styles/treasury.module.css";
import TreasuryReportsImage from "src/assets/svgs/treasury-reports.svg";

const MONTHS = [
{
month: "August",
year: "2024",
treasuryReport: "QmeDS5P7Q18wpdwaTwSkU9rNRVcDCQEKrUmtiZwhkTDjp1/august-v2-monthly-portfolio-snapshot-2024-august-2024.pdf",
riskReport: "QmaPFPbUkabYYUXXtbNvL6EGLmu4cLf3aEBLBgPTKYXGBG/august-redefine-risk-center.09-06-2024.pdf",
},
{
month: "July",
year: "2024",
Expand Down Expand Up @@ -144,7 +150,7 @@ const AnyQuestions = () => {

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

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

0 comments on commit becd7ff

Please sign in to comment.