모달 열렸을 떄 위젯이 끌리는 현상 해결

This commit is contained in:
dohyeons
2025-10-17 18:00:27 +09:00
parent 8b28107147
commit 809ded3746
3 changed files with 34 additions and 38 deletions

View File

@@ -67,9 +67,9 @@ export default function YardManagement3DWidget({
};
// 새 레이아웃 생성
const handleCreateLayout = async (name: string, description: string) => {
const handleCreateLayout = async (name: string) => {
try {
const response = await yardLayoutApi.createLayout({ name, description });
const response = await yardLayoutApi.createLayout({ name });
if (response.success) {
await loadLayouts();
setIsCreateModalOpen(false);
@@ -105,7 +105,7 @@ export default function YardManagement3DWidget({
// 편집 모드: 레이아웃 선택 UI
if (isEditMode) {
return (
<div className="flex h-full w-full flex-col bg-white">
<div className="widget-interactive-area flex h-full w-full flex-col bg-white">
<div className="flex items-center justify-between border-b p-4">
<div>
<h3 className="text-sm font-semibold text-gray-700"> </h3>