diff --git a/client/src/components/rack/DevicePalette.tsx b/client/src/components/rack/DevicePalette.tsx index 7cbd1e7..7473ad9 100644 --- a/client/src/components/rack/DevicePalette.tsx +++ b/client/src/components/rack/DevicePalette.tsx @@ -16,7 +16,7 @@ const ALL_TYPES: ModuleType[] = [ function PaletteItem({ type }: { type: ModuleType }) { const { attributes, listeners, setNodeRef, isDragging } = useDraggable({ id: `palette-${type}`, - data: { type }, + data: { dragType: 'palette', type }, }); const colors = MODULE_TYPE_COLORS[type];