cool
This commit is contained in:
@@ -4,6 +4,8 @@ interface StatusDisplayProps {
|
||||
status: 'idle' | 'verifying' | 'creating' | 'success' | 'error';
|
||||
txHash?: string;
|
||||
recordId?: string;
|
||||
appRecordId?: string;
|
||||
lrn?: string;
|
||||
error?: string;
|
||||
}
|
||||
|
||||
@@ -11,6 +13,8 @@ export default function StatusDisplay({
|
||||
status,
|
||||
txHash,
|
||||
recordId,
|
||||
appRecordId,
|
||||
lrn,
|
||||
error,
|
||||
}: StatusDisplayProps) {
|
||||
if (status === 'idle') return null;
|
||||
@@ -50,12 +54,26 @@ export default function StatusDisplay({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{appRecordId && (
|
||||
<div className="mb-2">
|
||||
<p className="text-sm font-medium text-gray-700">Application Record ID:</p>
|
||||
<p className="text-sm font-mono break-all">{appRecordId}</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{recordId && (
|
||||
<div>
|
||||
<p className="text-sm font-medium text-gray-700">Laconic Registry Record ID:</p>
|
||||
<div className="mb-2">
|
||||
<p className="text-sm font-medium text-gray-700">Deployment Request Record ID:</p>
|
||||
<p className="text-sm font-mono break-all">{recordId}</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{lrn && (
|
||||
<div>
|
||||
<p className="text-sm font-medium text-gray-700">Laconic Resource Name (LRN):</p>
|
||||
<p className="text-sm font-mono break-all">{lrn}</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user