Skip to content

Commit

Permalink
fix(docs): fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aednikanov committed Sep 24, 2024
1 parent 2ab87a9 commit ed741ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ParserOpenRPC/InteractiveBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default function InteractiveBox({
if (isObject(value)) {
return [
checkName(name),
Object.fromEntries(Object.entries(value).map(([key, val]) => [key, isObject(val) ? val.value : val]))
Object.fromEntries(Object.entries(value).map(([key, val]) => [key, isObject(val) && val?.description ? val.value : val]))
];
}
return [checkName(name), value];
Expand Down

0 comments on commit ed741ce

Please sign in to comment.