From 164ae67ed7bcf8c0943b25d23a638fac93fffecf Mon Sep 17 00:00:00 2001 From: "masato.fujita" Date: Mon, 16 Jun 2025 16:41:17 +0900 Subject: [PATCH] =?UTF-8?q?=E6=96=99=E7=90=86=E5=90=8D=E3=82=84=E9=A3=9F?= =?UTF-8?q?=E6=9D=90=E3=83=AA=E3=82=B9=E3=83=88=E3=81=AB=E5=85=A5=E5=8A=9B?= =?UTF-8?q?=E3=81=8C=E3=81=AA=E3=81=8F=E3=81=A6=E3=82=82=E3=83=80=E3=82=A4?= =?UTF-8?q?=E3=82=A2=E3=83=AD=E3=82=B0=E3=81=8C=E5=87=BA=E3=82=8B=E3=83=90?= =?UTF-8?q?=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/AddRecipe.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/AddRecipe.tsx b/frontend/src/pages/AddRecipe.tsx index 0256240..ac5aa14 100644 --- a/frontend/src/pages/AddRecipe.tsx +++ b/frontend/src/pages/AddRecipe.tsx @@ -121,6 +121,7 @@ const AddRecipe: React.FC = () => { console.log("yes2"); return false; } + return true; } const handleSubmit = async () => { @@ -143,7 +144,8 @@ const AddRecipe: React.FC = () => { } const openNumOfPeopleDialog = async () => { - await checkRecipeAndItems(); + const check = await checkRecipeAndItems(); + if (!check) return false; setOpenNumOfPeapleDialog(true); }