Skip to content

Commit

Permalink
chore(useTimePick): 함수 시그니쳐를 표현식으로 통일
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinkr committed Jul 24, 2024
1 parent a556f84 commit 2658bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/hooks/useTimePick/useTimePick.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function isMouseEvent(event: Event): event is MouseEvent {
return event instanceof MouseEvent;
}

const decideDragEventTarget = (event: Event) => {
export function decideDragEventTarget(event: Event) {
let target;

if (isTouchEvent(event) && event.touches) {
Expand All @@ -17,7 +17,7 @@ const decideDragEventTarget = (event: Event) => {
}

return target;
};
}

export function getTableCellElement(event: Event): HTMLTableCellElement | null {
const targetElement = decideDragEventTarget(event);
Expand Down

0 comments on commit 2658bb7

Please sign in to comment.