Skip to content

Commit

Permalink
fix: wrong fields used
Browse files Browse the repository at this point in the history
  • Loading branch information
alcercu committed Dec 9, 2024
1 parent 69fb117 commit 1f23916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/resume-arbitrable-tx/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import DetailsArea from '../details-area'
import './resume-arbitrable-tx.css'

const ResumeArbitrableTx = ({ arbitrabletx, title, children, footer }) => {
const asset = (arbitrabletx.data.token ? arbitrabletx.data.token.ticker : 'ETH')
const asset = (arbitrabletx.token ? arbitrabletx.token.ticker : 'ETH')

return (
<>
Expand Down Expand Up @@ -91,7 +91,7 @@ const ResumeArbitrableTx = ({ arbitrabletx, title, children, footer }) => {
</div>
{ arbitrabletx.id ? (
<div className="ResumeArbitrableTx-ContentNewArbitrableTx-amount">
Current Payment Balance: {arbitrabletx.data.amount} {asset}
Current Payment Balance: {arbitrabletx.amount} {asset}
{arbitrabletx.warnings && arbitrabletx.warnings.length ? (
<div className="ResumeArbitrableTx-ContentNewArbitrableTx-amount-warning">
TOKEN WARNINGS: Please asses these warnings carefully before continuing.
Expand Down

0 comments on commit 1f23916

Please sign in to comment.