@@ -635,22 +635,21 @@ export const useYieldTransactionFlow = ({
635635 // Track confirm event for the first non-approval transaction
636636 const isApproval = isApprovalTransaction ( tx )
637637 const isFirstNonApprovalTx =
638- ! isApproval &&
639- allTransactions . slice ( 0 , yieldTxIndex ) . every ( t => isApprovalTransaction ( t ) )
638+ ! isApproval && allTransactions . slice ( 0 , yieldTxIndex ) . every ( t => isApprovalTransaction ( t ) )
640639
641640 if ( isFirstNonApprovalTx ) {
642641 const confirmEvent =
643642 action === 'enter'
644643 ? MixPanelEvent . YieldEnterConfirm
645644 : action === 'exit'
646- ? MixPanelEvent . YieldExitConfirm
647- : MixPanelEvent . YieldClaimConfirm
645+ ? MixPanelEvent . YieldExitConfirm
646+ : MixPanelEvent . YieldClaimConfirm
648647
649648 trackYieldEvent ( confirmEvent , {
650649 provider : yieldItem . providerId ,
651650 yieldType : yieldItem . mechanics . type ,
652651 yieldId : yieldItem . id ,
653- assetSymbol : assetSymbol ,
652+ assetSymbol,
654653 network : yieldItem . network ,
655654 amountCryptoPrecision : amount ,
656655 action,
@@ -763,14 +762,14 @@ export const useYieldTransactionFlow = ({
763762 action === 'enter'
764763 ? MixPanelEvent . YieldEnterSuccess
765764 : action === 'exit'
766- ? MixPanelEvent . YieldExitSuccess
767- : MixPanelEvent . YieldClaimSuccess
765+ ? MixPanelEvent . YieldExitSuccess
766+ : MixPanelEvent . YieldClaimSuccess
768767
769768 trackYieldEvent ( successEvent , {
770769 provider : yieldItem . providerId ,
771770 yieldType : yieldItem . mechanics . type ,
772771 yieldId : yieldItem . id ,
773- assetSymbol : assetSymbol ,
772+ assetSymbol,
774773 network : yieldItem . network ,
775774 amountCryptoPrecision : amount ,
776775 action,
@@ -822,6 +821,7 @@ export const useYieldTransactionFlow = ({
822821 yieldItem ,
823822 action ,
824823 amount ,
824+ assetSymbol ,
825825 translate ,
826826 updateStepStatus ,
827827 buildCosmosStakeArgs ,
@@ -928,14 +928,14 @@ export const useYieldTransactionFlow = ({
928928 action === 'enter'
929929 ? MixPanelEvent . YieldEnterSuccess
930930 : action === 'exit'
931- ? MixPanelEvent . YieldExitSuccess
932- : MixPanelEvent . YieldClaimSuccess
931+ ? MixPanelEvent . YieldExitSuccess
932+ : MixPanelEvent . YieldClaimSuccess
933933
934934 trackYieldEvent ( successEvent , {
935935 provider : yieldItem . providerId ,
936936 yieldType : yieldItem . mechanics . type ,
937937 yieldId : yieldItem . id ,
938- assetSymbol : assetSymbol ,
938+ assetSymbol,
939939 network : yieldItem . network ,
940940 amountCryptoPrecision : amount ,
941941 action,
@@ -1005,12 +1005,13 @@ export const useYieldTransactionFlow = ({
10051005 accountId ,
10061006 action ,
10071007 amount ,
1008+ assetSymbol ,
10081009 quoteError ,
10091010 quoteData ,
10101011 resolveSymbolForTx ,
10111012 translate ,
10121013 showErrorToast ,
1013- yieldItem ?. mechanics . type ,
1014+ yieldItem ,
10141015 ] )
10151016
10161017 const isAmountLocked = useMemo (
0 commit comments