chore: show created by in chain

This commit is contained in:
Danish Arora 2024-11-05 11:38:10 +05:30
parent cdd1102460
commit cc5629810d
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E

View File

@ -40,15 +40,20 @@ const ChainList: React.FC<ChainListProps> = ({ chainsData, onChainUpdate, isLoad
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<p>{block.description}</p> <p>{block.description}</p>
<p className="text-sm text-muted-foreground mt-2"> <div className="flex flex-col space-y-2 mt-2">
Created at: {new Date(block.timestamp).toLocaleString()} <p className="text-sm text-muted-foreground">
</p> Created by: <SignerName address={block.signatures[0].address} />
<p className="text-sm text-muted-foreground"> </p>
Total Signatures: {totalSignatures} <p className="text-sm text-muted-foreground">
</p> Created at: {new Date(block.timestamp).toLocaleString()}
<p className="text-sm text-muted-foreground"> </p>
Block UUID: {block.blockUUID} <p className="text-sm text-muted-foreground">
</p> Total Signatures: {totalSignatures}
</p>
<p className="text-sm text-muted-foreground">
Block UUID: {block.blockUUID}
</p>
</div>
<div className="mt-2 space-x-2"> <div className="mt-2 space-x-2">
<SignChain <SignChain
block={block} block={block}