Skip to content

Commit

Permalink
feat(docs): made fix for ACT-1539
Browse files Browse the repository at this point in the history
  • Loading branch information
aednikanov committed Sep 23, 2024
1 parent dce12cf commit 886a775
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/ParserOpenRPC/InteractiveBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ export default function InteractiveBox({
return [checkName(name), getObjectWithAddress(value)]
}
}
if (isObject(value)) {
return [
checkName(name),
Object.fromEntries(Object.entries(value).map(([key, val]) => [key, isObject(val) ? val.value : val]))
];
}
return [checkName(name), value]
}));
setDefaultFormData({...defaultValues});
Expand Down

0 comments on commit 886a775

Please sign in to comment.