From 229b8288ddcf87335418f7d9ba29e30ea492d6c1 Mon Sep 17 00:00:00 2001 From: Ishaan Gupta Date: Sat, 23 May 2026 21:43:41 +0530 Subject: [PATCH] fix claude suggestion --- apps/web/components/quick-note-card.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/apps/web/components/quick-note-card.tsx b/apps/web/components/quick-note-card.tsx index 6e3b2549..922ee12c 100644 --- a/apps/web/components/quick-note-card.tsx +++ b/apps/web/components/quick-note-card.tsx @@ -64,18 +64,6 @@ export function QuickNoteCard({ [setDraft], ) - const handleKeyDown = useCallback( - (e: React.KeyboardEvent) => { - if ((e.metaKey || e.ctrlKey) && e.key === "Enter") { - e.preventDefault() - if (draft.trim() && !isSaving) { - onSave(draft) - } - } - }, - [draft, isSaving, onSave], - ) - const handleExpand = useCallback(() => { const rect = cardRef.current?.getBoundingClientRect() if (!rect) return @@ -301,7 +289,6 @@ export function QuickNoteCard({ boxShadow: "0 28px 80px rgba(0, 0, 0, 0.55), 0 2.842px 14.211px 0 rgba(0, 0, 0, 0.25), 0.711px 0.711px 0.711px 0 rgba(255, 255, 255, 0.10) inset", }} - onKeyDown={handleKeyDown} >