A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
style: auto-fix lint and format
ajnart583b1d293520
diff --git a/packages/widgets/src/beszel/_shared/chart.tsx b/packages/widgets/src/beszel/_shared/chart.tsxindex 6db2b30f5..ca539b532 100644--- a/packages/widgets/src/beszel/_shared/chart.tsx+++ b/packages/widgets/src/beszel/_shared/chart.tsx@@ -49,40 +49,35 @@ type BeszelAreaChartProps = Omit<AreaChartProps, "dataKey" | "curveType" | "withyAxisDomain?: [number, string];};-export const BeszelAreaChart = memo(({- yAxisFormatter,- yAxisDomain,- yAxisProps,- style,- type = "default",- ...props-}: BeszelAreaChartProps) => (- <AreaChart- dataKey="time"- curveType="monotone"- withGradient={false}- connectNulls- withDots={true}- type={type}- strokeWidth={1}- fillOpacity={0.2}- activeDotProps={activeDot}- dotProps={hiddenDot}- withXAxis- withYAxis- w="100%"- style={{ minWidth: 0, minHeight: 0, ...style }}- yAxisProps={{- ...yAxisBase,- width: 32,- tickMargin: 2,- ...(yAxisDomain ? { domain: yAxisDomain } : {}),- tickFormatter: yAxisFormatter,- ...yAxisProps,- }}- {...props}- />-));+export const BeszelAreaChart = memo(+ ({ yAxisFormatter, yAxisDomain, yAxisProps, style, type = "default", ...props }: BeszelAreaChartProps) => (+ <AreaChart+ dataKey="time"+ curveType="monotone"+ withGradient={false}+ connectNulls+ withDots={true}+ type={type}+ strokeWidth={1}+ fillOpacity={0.2}+ activeDotProps={activeDot}+ dotProps={hiddenDot}+ withXAxis+ withYAxis+ w="100%"+ style={{ minWidth: 0, minHeight: 0, ...style }}+ yAxisProps={{+ ...yAxisBase,+ width: 32,+ tickMargin: 2,+ ...(yAxisDomain ? { domain: yAxisDomain } : {}),+ tickFormatter: yAxisFormatter,+ ...yAxisProps,+ }}+ {...props}+ />+ ),+);export const useSystemChartData = (systemStats: BeszelSystemStatsRecord[] | undefined,