From 85182725df9cb1cab2a5fcf6a9a07b5ffd5b2bc1 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Thu, 19 Sep 2024 11:09:45 +0900 Subject: [PATCH] =?UTF-8?q?=EC=99=B8=EB=B2=BD=EC=84=A0=20=ED=99=95?= =?UTF-8?q?=EC=A0=95,=20=EC=9D=BC=EB=B3=80=EC=A0=84=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=8F=8C=EC=95=84=EA=B0=80=EA=B8=B0=20=EC=A1=B0=EA=B1=B4=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../floor-plan/modal/outerlinesetting/OuterLineWall.jsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/floor-plan/modal/outerlinesetting/OuterLineWall.jsx b/src/components/floor-plan/modal/outerlinesetting/OuterLineWall.jsx index f318331e..ba50f80d 100644 --- a/src/components/floor-plan/modal/outerlinesetting/OuterLineWall.jsx +++ b/src/components/floor-plan/modal/outerlinesetting/OuterLineWall.jsx @@ -388,6 +388,9 @@ export default function OuterLineWall(props) { } const handleFix = () => { + if (points.length < 3) { + return + } setPoints((prev) => { if (prev.length === 0) { return [] @@ -498,10 +501,10 @@ export default function OuterLineWall(props) { <> )}
- -