Skip to content

Commit

Permalink
fix(homepage): random examples lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
serjilyashenko committed Sep 25, 2024
1 parent bd374b5 commit 32fe7d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/homepage-legacy/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
"noFallthroughCasesInSwitch": true
},
"include": ["src"],
"exclude": ["dist"],
"references": [{ "path": "./tsconfig.node.json" }]
}
4 changes: 2 additions & 2 deletions apps/homepage/src/components/RandomExamples.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import "./PieScript.astro";
Array.from({ length: Math.floor(Math.random() * 10 + 1) }, () =>
Math.floor(Math.random() * 101)
)
).map(set => (
<Card>
).map((set, index) => (
<Card title={index.toString()}>
<div class="pie"
data-doughnut={JSON.stringify(set)}
data-options={JSON.stringify({borderColor: 'transparent'})}
Expand Down

0 comments on commit 32fe7d0

Please sign in to comment.