diff --git a/src/components/insights/insight-advisor-card.tsx b/src/components/insights/insight-advisor-card.tsx index dffae88e9..56e6fc38d 100644 --- a/src/components/insights/insight-advisor-card.tsx +++ b/src/components/insights/insight-advisor-card.tsx @@ -335,14 +335,14 @@ export function InsightAdvisorCard({

{title}

-
-
+
+
{[0, 1, 2].map((i) => (
))} @@ -384,7 +384,7 @@ export function InsightAdvisorCard({ onClick={onRegenerate} disabled={regenerating} data-slot="insight-retry-button" - className="self-start gap-1.5" + className="gap-1.5 self-start" > {regenerating ? ( diff --git a/src/lib/insights/chart-tokens.ts b/src/lib/insights/chart-tokens.ts index d4535c193..de859ea29 100644 --- a/src/lib/insights/chart-tokens.ts +++ b/src/lib/insights/chart-tokens.ts @@ -58,7 +58,9 @@ const TOKEN_REGEX = /metric:[A-Z_]+/g; * non-string input as empty — the legacy-payload CTA owns the user- * facing recovery path. */ -export function parseChartTokens(text: string | null | undefined): ChartToken[] { +export function parseChartTokens( + text: string | null | undefined, +): ChartToken[] { if (typeof text !== "string") return []; const matches: string[] = text.match(TOKEN_REGEX) ?? []; return matches.filter((m): m is ChartToken => ALLOWED_SET.has(m));