Fix transactionType undefined bug
This commit is contained in:
parent
7e53fcd69a
commit
ad155686ea
@ -1653,8 +1653,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(transaction)
|
console.log(transaction)
|
||||||
|
let transactionType = ''
|
||||||
|
if( type=='transfer'){
|
||||||
|
transactionType = transaction.parsedFloData?.transferType
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
type: `${transaction.parsedFloData?.transferType} ${type}`,
|
type: `${transactionType} ${type}`,
|
||||||
name: tokenIdentification,
|
name: tokenIdentification,
|
||||||
blockHeight: blockheight,
|
blockHeight: blockheight,
|
||||||
amount: tokenAmount,
|
amount: tokenAmount,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user