File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -64,18 +64,19 @@ export function Transaction() {
6464 } , [ appPubkey ] ) ;
6565
6666 const TransactionIcon = React . useMemo ( ( ) => {
67- if ( transaction . state === "failed" ) {
68- return FailedTransactionIcon ;
67+ if ( transaction . type === "incoming" ) {
68+ return ReceivedTransactionIcon ;
69+ }
70+ if ( transaction . state === "settled" ) {
71+ return SentTransactionIcon ;
6972 }
7073 if ( transaction . state === "pending" ) {
7174 return PendingTransactionIcon ;
7275 }
7376 if ( transaction . state === "accepted" ) {
7477 return AcceptedTransactionIcon ;
7578 }
76- return transaction . type === "incoming"
77- ? ReceivedTransactionIcon
78- : SentTransactionIcon ;
79+ return FailedTransactionIcon ;
7980 } , [ transaction . state , transaction . type ] ) ;
8081
8182 const boostagram = React . useMemo ( ( ) => {
You can’t perform that action at this time.
0 commit comments