File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed
Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -128,11 +128,6 @@ function TransactionRow({
128128 { tx . hash }
129129 </ span >
130130 ) }
131- { hasBundle && (
132- < span className = "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-700" >
133- Bundle
134- </ span >
135- ) }
136131 </ div >
137132 < div className = "text-xs text-gray-500 mt-0.5" >
138133 { tx . from . slice ( 0 , 6 ) } ...{ tx . from . slice ( - 4 ) }
Original file line number Diff line number Diff line change @@ -158,11 +158,9 @@ function Card({
158158function TransactionDetails ( {
159159 tx,
160160 index,
161- isReverting,
162161} : {
163162 tx : BundleTransaction ;
164163 index : number ;
165- isReverting : boolean ;
166164} ) {
167165 const [ expanded , setExpanded ] = useState ( index === 0 ) ;
168166
@@ -182,7 +180,6 @@ function TransactionDetails({
182180 < span className = "font-mono text-sm text-gray-900" >
183181 { tx . hash . slice ( 0 , 10 ) } ...{ tx . hash . slice ( - 8 ) }
184182 </ span >
185- { isReverting && < Badge variant = "warning" > Reverting</ Badge > }
186183 </ div >
187184 < div className = "text-xs text-gray-500 mt-0.5" >
188185 { tx . signer . slice ( 0 , 6 ) } ...{ tx . signer . slice ( - 4 ) } →{ " " }
@@ -482,7 +479,6 @@ export default function BundlePage({ params }: PageProps) {
482479 . filter ( ( e ) => e . data ?. bundle )
483480 . map ( ( e ) => e . data . bundle )
484481 . pop ( ) ;
485- const revertingHashes = new Set ( latestBundle ?. reverting_tx_hashes || [ ] ) ;
486482
487483 return (
488484 < div className = "min-h-screen bg-gray-50" >
@@ -560,12 +556,7 @@ export default function BundlePage({ params }: PageProps) {
560556 < SectionTitle > Transactions</ SectionTitle >
561557 < div className = "space-y-3" >
562558 { latestBundle . txs . map ( ( tx , index ) => (
563- < TransactionDetails
564- key = { tx . hash }
565- tx = { tx }
566- index = { index }
567- isReverting = { revertingHashes . has ( tx . hash ) }
568- />
559+ < TransactionDetails key = { tx . hash } tx = { tx } index = { index } />
569560 ) ) }
570561 </ div >
571562 </ section >
You can’t perform that action at this time.
0 commit comments