Skip to content

Commit

Permalink
style: lint ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovico7 committed Nov 12, 2024
1 parent 6c8fa35 commit 70086dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/hooks/useMarkdownGrammer/handlers/arrow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down Expand Up @@ -46,7 +46,7 @@ export const useArrowKeyHandler = ({
targetNode = currentNode.prevNode;
}
break;

case "ArrowDown":
if (currentNode.parentNode?.type === "checkbox") {
if (currentNode.parentNode.nextNode) {
Expand Down Expand Up @@ -78,7 +78,7 @@ export const useArrowKeyHandler = ({
}
break;
}

/*
switch (e.key) {
case "ArrowUp":
Expand Down

0 comments on commit 70086dd

Please sign in to comment.