From 1d21871f2e6f4ef3ca3e7322589cafb8890f5308 Mon Sep 17 00:00:00 2001 From: Vorflux AI Date: Sun, 31 May 2026 23:51:24 +0000 Subject: [PATCH] fix: biome format and lint issues in highlights-card --- apps/web/components/highlights-card.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/web/components/highlights-card.tsx b/apps/web/components/highlights-card.tsx index db7110bf..38257d2e 100644 --- a/apps/web/components/highlights-card.tsx +++ b/apps/web/components/highlights-card.tsx @@ -1,6 +1,12 @@ "use client" -import { useState, useCallback, useRef, useEffect, useLayoutEffect } from "react" +import { + useState, + useCallback, + useRef, + useEffect, + useLayoutEffect, +} from "react" import { cn } from "@lib/utils" import { dmSansClassName } from "@/lib/fonts" import { @@ -93,6 +99,7 @@ export function HighlightsCard({ setIsExpanded(false) }, [items]) + // biome-ignore lint/correctness/useExhaustiveDependencies: re-run when item or expansion changes to detect clamping useLayoutEffect(() => { const el = contentRef.current if (!el) return