🐛 fix(reactflowUtils.ts): remove unnecessary space in key assignment to maintain consistent object key order
This commit is contained in:
parent
321024fd4c
commit
c6122980ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue