fix null currency type in transfer dialog

This commit is contained in:
Barry Gitarts 2019-02-06 11:00:12 -05:00
parent bbcf24a53c
commit 600c5119f6
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ const TransferDialog = ({ row, handleClose }) => (
<DialogTitle id="form-dialog-title">Transfer Funds</DialogTitle>
<DialogContent>
<DialogContentText>
{`Transfer ${values.amount || ''} ${values.amount ? getTokenLabel(row[6]) : ''} from Pledge ${row.pledgeId} ${values.idReceiver ? 'to Giver/Delegate/Project' : ''} ${values.idReceiver || ''}`}
{`Transfer ${values.amount || ''} ${values.amount && row ? getTokenLabel(row.pledge.token) : ''} from Pledge ${row.pledgeId} ${values.idReceiver ? 'to Giver/Delegate/Project' : ''} ${values.idReceiver || ''}`}
</DialogContentText>
<TextField
autoFocus