From 5a8d7e863da9021e6569f1d8f99df6ebb08d3e3d Mon Sep 17 00:00:00 2001 From: Franco Testagrossa Date: Thu, 7 Mar 2024 12:13:13 -0300 Subject: [PATCH] Minor formatting changes --- .../components/MemberCommitDetails/index.tsx | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/hydra-explorer/web/src/components/MemberCommitDetails/index.tsx b/hydra-explorer/web/src/components/MemberCommitDetails/index.tsx index d559b2b060d..cd55280b67c 100644 --- a/hydra-explorer/web/src/components/MemberCommitDetails/index.tsx +++ b/hydra-explorer/web/src/components/MemberCommitDetails/index.tsx @@ -44,21 +44,25 @@ const MemberCommitDetails: React.FC = ({ member, onClo {member.commits && - Object.entries(member.commits).map(([commitId, commit], index) => ( - - - - {commitId} - - - - - {commit.address} - - - {commit.value.lovelace / 1000000} ₳ - - ))} + Object.entries(member.commits) + .map(([txIn, commit], index) => { + const [txId, txIx] = txIn.split("#") + return ( + + + + {txId} + #{txIx} + + + + {commit.address} + + + {commit.value.lovelace / 1000000} ₳ + + ) + })}