diff --git a/frontend/components/admin/dashboard/DashboardSidebar.tsx b/frontend/components/admin/dashboard/DashboardSidebar.tsx index 619f0dba..a9eb2659 100644 --- a/frontend/components/admin/dashboard/DashboardSidebar.tsx +++ b/frontend/components/admin/dashboard/DashboardSidebar.tsx @@ -1,7 +1,7 @@ -'use client'; +"use client"; -import React from 'react'; -import { DragData, ElementType, ElementSubtype } from './types'; +import React from "react"; +import { DragData, ElementType, ElementSubtype } from "./types"; /** * 대시보드 사이드바 컴포넌트 @@ -12,18 +12,16 @@ export function DashboardSidebar() { // 드래그 시작 처리 const handleDragStart = (e: React.DragEvent, type: ElementType, subtype: ElementSubtype) => { const dragData: DragData = { type, subtype }; - e.dataTransfer.setData('application/json', JSON.stringify(dragData)); - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.setData("application/json", JSON.stringify(dragData)); + e.dataTransfer.effectAllowed = "copy"; }; return ( -
+
{/* 차트 섹션 */}
-

- 📊 차트 종류 -

- +

📊 차트 종류

+
-

- 🔧 위젯 종류 -

- +

🔧 위젯 종류

+
onDragStart(e, type, subtype)} > - {icon} + {icon} {title}
);