From 4873082d7ce8a59b266c6e65ae4cbc76c3e4a3f8 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Thu, 21 May 2026 09:51:12 +0000 Subject: [PATCH] Fix biome lint: use editorHeight variable and fix formatting The editorHeight variable was defined but never used. Now it's applied to the TextEditor container div. Also fixed formatting to match biome expectations. Co-Authored-By: Claude Opus 4.5 --- apps/web/components/quick-note-card.tsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/web/components/quick-note-card.tsx b/apps/web/components/quick-note-card.tsx index 2b369a26..49eca58e 100644 --- a/apps/web/components/quick-note-card.tsx +++ b/apps/web/components/quick-note-card.tsx @@ -81,11 +81,10 @@ export function QuickNoteCard({ const canSave = draft.trim().length > 0 && !isSaving const hasDraft = draft.trim().length > 0 - const editorHeight = - isExpanded - ? "min-h-[min(58dvh,520px)] sm:min-h-[min(54vh,560px)]" - : hasDraft - ? "min-h-[188px]" + const editorHeight = isExpanded + ? "min-h-[min(58dvh,520px)] sm:min-h-[min(54vh,560px)]" + : hasDraft + ? "min-h-[188px]" : "min-h-[120px]" return ( @@ -100,8 +99,7 @@ export function QuickNoteCard({