Skip to content

Commit

Permalink
Fix: check for bundle.feeToken object
Browse files Browse the repository at this point in the history
  • Loading branch information
gergana95 committed Apr 4, 2024
1 parent a31cb90 commit 3c41993
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const Details = ({
}) => {
const network = networks.find((x) => x.id === bundle.network)
const feeToken =
(bundle.feeToken && bundle.feeToken.symbol && bundle.feeToken.symbol.toLowerCase()) ||
bundle.feeToken ||
(hasFeeMatch &&
bundle.gasTankFee &&
Expand Down Expand Up @@ -61,7 +62,7 @@ const Details = ({
<DetailsItem title="Error" text={bundle.executed.errorMsg || 'unknown error'} />
)}
{bundle.gasTankFee &&
cashback &&
!!cashback &&
!bundle.gasTankFee.cashback.value &&
hasFeeMatch &&
mined && (
Expand Down

0 comments on commit 3c41993

Please sign in to comment.