Skip to content

Commit

Permalink
feat(docs): added handling for object input field
Browse files Browse the repository at this point in the history
  • Loading branch information
aednikanov committed Sep 23, 2024
1 parent 4db208f commit 8b27be8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/ParserOpenRPC/InteractiveBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ export default function InteractiveBox({
return [checkName(name), getObjectWithAddress(value)];
}
}
if (isObject(value)) {
return [checkName(name), value?.value];
}
return [checkName(name), value];
})
);
Expand Down

0 comments on commit 8b27be8

Please sign in to comment.