From 70086dd99dee185025ad56faa09be49be6db0df7 Mon Sep 17 00:00:00 2001 From: Yeonkyu Min Date: Tue, 12 Nov 2024 22:33:05 +0900 Subject: [PATCH] =?UTF-8?q?style:=20lint=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/hooks/useMarkdownGrammer/handlers/arrow.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/hooks/useMarkdownGrammer/handlers/arrow.ts b/client/src/hooks/useMarkdownGrammer/handlers/arrow.ts index 06e943df..9f92e7a9 100644 --- a/client/src/hooks/useMarkdownGrammer/handlers/arrow.ts +++ b/client/src/hooks/useMarkdownGrammer/handlers/arrow.ts @@ -14,7 +14,7 @@ export const useArrowKeyHandler = ({ if (!currentNode) return; let targetNode: EditorNode | null = null; - + switch (e.key) { case "ArrowUp": if (currentNode.parentNode?.type === "checkbox") { @@ -46,7 +46,7 @@ export const useArrowKeyHandler = ({ targetNode = currentNode.prevNode; } break; - + case "ArrowDown": if (currentNode.parentNode?.type === "checkbox") { if (currentNode.parentNode.nextNode) { @@ -78,7 +78,7 @@ export const useArrowKeyHandler = ({ } break; } - + /* switch (e.key) { case "ArrowUp":