This commit is contained in:
2026-04-07 12:01:22 +05:30
parent 692d907ca5
commit 3f51d2f869

View File

@@ -126,17 +126,8 @@ export default function Dashboard() {
</Box> </Box>
<Grid container spacing={4} direction="row"> <Grid container spacing={4} direction="row">
{/* LEFT → 1/3 */}
<Grid size={4}>
<LatestItemsList
title={`Recent ${mode === "expense" ? "Expenses" : "Income"}`}
items={currentLatest}
onViewAll={() => {}}
/>
</Grid>
{/* RIGHT → 2/3 */} <Grid size={12}>
<Grid size={8}>
<HistoryChart <HistoryChart
header={`${mode === "expense" ? "Expense" : "Income"} Breakdown`} header={`${mode === "expense" ? "Expense" : "Income"} Breakdown`}
summary="Interactive chronological tracking" summary="Interactive chronological tracking"
@@ -148,6 +139,15 @@ export default function Dashboard() {
setComparison={setComparison} setComparison={setComparison}
/> />
</Grid> </Grid>
<Grid size={12}>
<LatestItemsList
title={`Recent ${mode === "expense" ? "Expenses" : "Income"}`}
items={currentLatest}
onViewAll={() => {}}
/>
</Grid>
</Grid> </Grid>
</Container> </Container>
); );