From 985bb8827ef7f581e7d37296615f0af75529427b Mon Sep 17 00:00:00 2001 From: Sohnenko Ellina Date: Thu, 4 Jun 2026 09:06:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8?= =?UTF-8?q?=20=D1=81=20=D0=BF=D1=83=D1=81=D1=82=D1=8B=D0=BC=D0=B8=20output?= =?UTF-8?q?=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B0=D0=BC=D0=B8=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=20=D1=8D=D0=BA=D1=81=D0=BF=D0=BE=D1=80=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index ae2dc9f..e68c527 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -489,7 +489,7 @@ function App() { nodes.forEach(node => { const newInd = nodesIndexes.get(node.id) if (node && node.data.type === 'input' || node.data.type === 'const') { - for (let i = 0; i < newInd.length; i++) { + for (let i = 0; i < newInd?.length; i++) { xml += ` \n` xml += ` \n` xml += ` \n` @@ -502,7 +502,7 @@ function App() { nodes.forEach(node => { const newInd = nodesIndexes.get(node.id) if (node.data.type === 'output') { - for (let i = 0; i < newInd.length; i++) { + for (let i = 0; i < newInd?.length; i++) { xml += ` \n` xml += ` \n` xml += ` \n`