Skip to content

Commit

Permalink
Merge pull request #292 from kleros/feat/treasury-reports-october
Browse files Browse the repository at this point in the history
feat: add october treasury reports
  • Loading branch information
alcercu authored Nov 4, 2024
2 parents ac55a1e + 839a3f1 commit 5ec7c4c
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: "October",
year: "2024",
treasuryReport: "QmcY5sSzwk9JJq6PHvw723CTYQTsJXgnnstrh9nUsLYD86/october-2024-monthly-portfolio-snapshot-2024-october-2024.pdf",
riskReport: "QmVXihH3zP46XfZZuHFpKC6oAuaFSXQBbkseDm5sQiqAVu/october-2024-risk-reports-redefine-risk-center.11-02-2024.pdf",
},
{
month: "September",
year: "2024",
Expand Down Expand Up @@ -156,7 +162,7 @@ const AnyQuestions = () => {

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

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

0 comments on commit 5ec7c4c

Please sign in to comment.