diff --git a/frontend/components/admin/dashboard/CanvasElement.tsx b/frontend/components/admin/dashboard/CanvasElement.tsx index ccf8ff13..b45d8ed3 100644 --- a/frontend/components/admin/dashboard/CanvasElement.tsx +++ b/frontend/components/admin/dashboard/CanvasElement.tsx @@ -98,6 +98,17 @@ const DocumentWidget = dynamic(() => import("@/components/dashboard/widgets/Docu loading: () =>
로딩 중...
, }); +const Warehouse3DWidget = dynamic( + () => + import("@/components/admin/dashboard/widgets/Warehouse3DWidget").then((mod) => ({ + default: mod.Warehouse3DWidget, + })), + { + ssr: false, + loading: () =>
로딩 중...
, + }, +); + // 시계 위젯 임포트 import { ClockWidget } from "./widgets/ClockWidget"; // 달력 위젯 임포트 @@ -727,6 +738,11 @@ export function CanvasElement({
+ ) : element.type === "widget" && element.subtype === "warehouse-3d" ? ( + // 창고 현황 3D 위젯 렌더링 +
+ +
) : ( // 기타 위젯 렌더링