Skip to content

Commit c0a82eb

Browse files
committed
Supress lint error and fix fmt
1 parent 463dc32 commit c0a82eb

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

site/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,7 @@
187187
"vite-plugin-checker": "0.8.0",
188188
"vite-plugin-turbosnap": "1.0.3"
189189
},
190-
"browserslist": [
191-
"chrome 110",
192-
"firefox 111",
193-
"safari 16.0"
194-
],
190+
"browserslist": ["chrome 110", "firefox 111", "safari 16.0"],
195191
"resolutions": {
196192
"optionator": "0.9.3",
197193
"semver": "7.6.2"

site/src/components/Chart/Chart.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import type { Meta, StoryObj } from "@storybook/react";
2+
import { Area, AreaChart, CartesianGrid, XAxis, YAxis } from "recharts";
23
import {
34
type ChartConfig,
45
ChartContainer,
56
ChartTooltip,
67
ChartTooltipContent,
78
} from "./Chart";
8-
import { Area, AreaChart, CartesianGrid, XAxis, YAxis } from "recharts";
99

1010
const chartData = [
1111
{ month: "January", users: 186 },

site/src/components/Chart/Chart.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {
7979

8080
return (
8181
<style
82+
// biome-ignore lint/security/noDangerouslySetInnerHtml: necessary to run shadcn/chart component
8283
dangerouslySetInnerHTML={{
8384
__html: Object.entries(THEMES)
8485
.map(

0 commit comments

Comments
 (0)