Fix transactionType undefined bug

This commit is contained in:
Vivek Teega 2020-08-22 19:49:47 +05:30
parent 7e53fcd69a
commit ad155686ea

View File

@ -1653,8 +1653,12 @@
}
}
console.log(transaction)
let transactionType = ''
if( type=='transfer'){
transactionType = transaction.parsedFloData?.transferType
}
return {
type: `${transaction.parsedFloData?.transferType} ${type}`,
type: `${transactionType} ${type}`,
name: tokenIdentification,
blockHeight: blockheight,
amount: tokenAmount,