mirror of
https://github.com/waku-org/js-waku-lab.git
synced 2025-03-04 02:20:40 +00:00
chore: show created by in chain
This commit is contained in:
parent
cdd1102460
commit
cc5629810d
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user