Skip to content

Commit

Permalink
fix(docs): fixed bug (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
aednikanov authored Sep 24, 2024
1 parent 645627d commit eb71ab0
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 eb71ab0

Please sign in to comment.