fixes
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user