From c6122980ad147e79be5732492a6e7e0dbf4ed55a Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Fri, 15 Sep 2023 14:50:27 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(reactflowUtils.ts):=20remove?= =?UTF-8?q?=20unnecessary=20space=20in=20key=20assignment=20to=20maintain?= =?UTF-8?q?=20consistent=20object=20key=20order?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/utils/reactflowUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/utils/reactflowUtils.ts b/src/frontend/src/utils/reactflowUtils.ts index 340fff53f..250ce4054 100644 --- a/src/frontend/src/utils/reactflowUtils.ts +++ b/src/frontend/src/utils/reactflowUtils.ts @@ -307,7 +307,7 @@ export function convertArrayToObj(newValue) { for (const obj of newValue) { for (const key in obj) { if (obj.hasOwnProperty(key)) { - flattenedObject[' ' + key] = obj[key]; //added space to dont order when add new keys to object + flattenedObject[key] = obj[key]; //added space to dont order when add new keys to object } } }