Skip to content

Commit

Permalink
[docs] Fix dashboard template console error (#42594)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Jun 10, 2024
1 parent a9554a9 commit 5149a65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,16 @@ export default function MainGrid() {
return (
<React.Fragment>
{/* cards */}

<Grid container spacing={2} columns={12}>
{data.map((card, index) => (
<Grid xs={6} sm={3} md={2} lg={2.25}>
<StatCard key={index} {...card} />
<Grid key={index} xs={6} sm={3} md={2} lg={2.25}>
<StatCard {...card} />
</Grid>
))}
<Grid xs={12} md={4} lg={3}>
<HighlightedCard />
</Grid>
</Grid>

<Grid
container
spacing={2}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,16 @@ export default function MainGrid() {
return (
<React.Fragment>
{/* cards */}

<Grid container spacing={2} columns={12}>
{data.map((card, index) => (
<Grid xs={6} sm={3} md={2} lg={2.25}>
<StatCard key={index} {...card} />
<Grid key={index} xs={6} sm={3} md={2} lg={2.25}>
<StatCard {...card} />
</Grid>
))}
<Grid xs={12} md={4} lg={3}>
<HighlightedCard />
</Grid>
</Grid>

<Grid
container
spacing={2}
Expand Down

0 comments on commit 5149a65

Please sign in to comment.