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 May 4, 2022
1 parent bd74dc7 commit 6689a6d
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 @@ -641,9 +641,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 @@ -654,7 +653,6 @@ const OperationDetailsExtra = ({ extra }: OperationDetailsExtraProps) => {
</OpDetailsData>
</OpDetailsSection>
);

});
};

Expand Down

0 comments on commit 6689a6d

Please sign in to comment.