diff --git a/src/app/components/Portfolio/Statement/StatementSummary.tsx b/src/app/components/Portfolio/Statement/StatementSummary.tsx index 0fa8a60..fcb865b 100644 --- a/src/app/components/Portfolio/Statement/StatementSummary.tsx +++ b/src/app/components/Portfolio/Statement/StatementSummary.tsx @@ -11,11 +11,11 @@ const StatementSummary: FunctionComponent = ({ ..._rest } const theSynthesys = useLoaderData() as StatementsSynthesysEntries; const datasets: DataSet[] = [ + { label: "Stocks", data: Object.values(theSynthesys).map((item) => Math.round(item.stocks)) }, { label: "Options", data: Object.values(theSynthesys).map((item) => Math.round(item.options)), }, - { label: "Stocks", data: Object.values(theSynthesys).map((item) => Math.round(item.stocks)) }, { label: "Div+Int", data: Object.values(theSynthesys).map((item) => Math.round(item.dividends + item.interests)),