File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1572,6 +1572,18 @@ export const HomeIndexRoute = () => {
15721572 { /* Intent call payloads Section */ }
15731573 { intentCallsPayloads && intentCallsPayloads . length > 0 ? (
15741574 < div className = "space-y-2" >
1575+ { /* Raw JSON View */ }
1576+ < div className = "bg-gray-800/70 p-3 rounded-md mb-4" >
1577+ < div className = "flex items-center justify-between mb-2" >
1578+ < Text variant = "small" color = "primary" className = "font-semibold flex items-center" >
1579+ < Clipboard className = "h-4 w-4 mr-2" />
1580+ Raw JSON Data
1581+ </ Text >
1582+ </ div >
1583+ < pre className = "text-xs overflow-x-auto whitespace-pre-wrap bg-gray-900/50 p-2 rounded border border-gray-700/50 max-h-96 overflow-y-auto scrollbar-thin scrollbar-thumb-gray-600 scrollbar-track-gray-800" >
1584+ { JSON . stringify ( intentCallsPayloads , null , 2 ) }
1585+ </ pre >
1586+ </ div >
15751587 { intentCallsPayloads . map ( ( operation , index ) => (
15761588 < div
15771589 key = { `operation-${ index } ` }
@@ -1664,10 +1676,10 @@ export const HomeIndexRoute = () => {
16641676 < span className = "font-mono text-yellow-300 break-all" > { tx . id || 'N/A' } </ span >
16651677 </ Text >
16661678 </ div >
1667- < div >
1679+ < div className = "bg-gray-800/70 p-2 rounded-md mb-1" >
16681680 < Text variant = "small" color = "secondary" >
16691681 < strong className = "text-blue-300" > Contract: </ strong >
1670- < span className = "font-mono text-yellow-300 break-all" > { String ( tx . contract || '' ) } </ span >
1682+ < span className = "font-mono text-yellow-300 break-all" > { tx . contract || 'N/A' } </ span >
16711683 </ Text >
16721684 </ div >
16731685 < div className = "bg-gray-800/70 p-2 rounded-md mb-1" >
You can’t perform that action at this time.
0 commit comments