mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-18 14:59:42 +02:00
Switch to BiomeJS (#306)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import type { DragMoveEvent } from '@dnd-kit/core';
|
||||
|
||||
export function computeSideForDragMove(
|
||||
id: string,
|
||||
e: DragMoveEvent,
|
||||
): 'above' | 'below' | null {
|
||||
export function computeSideForDragMove(id: string, e: DragMoveEvent): 'above' | 'below' | null {
|
||||
if (e.over == null || e.over.id !== id) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user