Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
fix error on line
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelm41 committed Mar 28, 2022
1 parent 5f13960 commit d8ad258
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/renderer/drawers/OperationDetails/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,9 +630,8 @@ type OperationDetailsExtraProps = {
};

const OperationDetailsExtra = ({ extra }: OperationDetailsExtraProps) => {
return Object.entries(extra).map(([key, value]) => (
return Object.entries(extra).map(([key, value]) => {
if( typeof value == "object" || typeof value == "function") return null;

return (
<OpDetailsSection key={key}>
<OpDetailsTitle>
Expand All @@ -643,7 +642,6 @@ const OperationDetailsExtra = ({ extra }: OperationDetailsExtraProps) => {
</OpDetailsData>
</OpDetailsSection>
);

});
};

Expand Down

0 comments on commit d8ad258

Please sign in to comment.