From df933e94efc8f376003bbdc658d64b64a0e53495 Mon Sep 17 00:00:00 2001 From: thinkasany <480968828@qq.com> Date: Wed, 28 Aug 2024 18:12:02 +0800 Subject: [PATCH] demo(tag): improve import type DragEndEvent for dnd-kit (#50615) --- components/tag/demo/draggable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tag/demo/draggable.tsx b/components/tag/demo/draggable.tsx index 9fb889ae08..2750cb5e60 100644 --- a/components/tag/demo/draggable.tsx +++ b/components/tag/demo/draggable.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { closestCenter, DndContext, PointerSensor, useSensor, useSensors } from '@dnd-kit/core'; -import type { DragEndEvent } from '@dnd-kit/core/dist/types/index'; +import type { DragEndEvent } from '@dnd-kit/core'; import { arrayMove, horizontalListSortingStrategy,