mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-15 06:52:04 +00:00
style: prettier pass over the chart-loader touchpoints
Formatting-only: the chart-runtime import repointing left five files with non-canonical line breaks.
This commit is contained in:
1 parent
1d368b7cd2
commit
016b83da1d
5 files changed
+22
-13
No files matched your search
@@ -42,9 +42,11 @@ import type {
|
||||
// off the detail page's first-load JS; the skeleton shell holds the layout.
|
||||
const CustomMetricChartLazy = dynamic(
|
||||
() =>
|
||||
importWithRetry(() => import("@/components/charts/chart-runtime")).then((mod) => ({
|
||||
default: mod.CustomMetricChart,
|
||||
})),
|
||||
importWithRetry(() => import("@/components/charts/chart-runtime")).then(
|
||||
(mod) => ({
|
||||
default: mod.CustomMetricChart,
|
||||
}),
|
||||
),
|
||||
{ ssr: false, loading: () => <ChartSkeleton /> },
|
||||
);
|
||||
function CustomMetricChart(
|
||||
|
||||
@@ -25,9 +25,11 @@ import { SleepDurationChart } from "./sleep-duration-chart";
|
||||
// matches the card the bar paints so the layout stays stable.
|
||||
const SleepStageStackedBarLazy = dynamic(
|
||||
() =>
|
||||
importWithRetry(() => import("@/components/charts/chart-runtime")).then((mod) => ({
|
||||
default: mod.SleepStageStackedBar,
|
||||
})),
|
||||
importWithRetry(() => import("@/components/charts/chart-runtime")).then(
|
||||
(mod) => ({
|
||||
default: mod.SleepStageStackedBar,
|
||||
}),
|
||||
),
|
||||
{ ssr: false, loading: () => <ChartSkeleton /> },
|
||||
);
|
||||
function SleepStageStackedBar(
|
||||
|
||||
@@ -38,9 +38,11 @@ import type { AssessmentRow, CrisisSet, InstrumentId } from "./types";
|
||||
// holds the layout.
|
||||
const AssessmentHistoryChartLazy = dynamic(
|
||||
() =>
|
||||
importWithRetry(() => import("@/components/charts/chart-runtime")).then((mod) => ({
|
||||
default: mod.AssessmentHistoryChart,
|
||||
})),
|
||||
importWithRetry(() => import("@/components/charts/chart-runtime")).then(
|
||||
(mod) => ({
|
||||
default: mod.AssessmentHistoryChart,
|
||||
}),
|
||||
),
|
||||
{ ssr: false, loading: () => <ChartSkeleton /> },
|
||||
);
|
||||
function AssessmentHistoryChart(
|
||||
|
||||
Reference in new issue
Block a user