Created
May 19, 2016 14:34
-
-
Save esshka/31507319f837d8fed02642064ef1f35e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const transferNodes = | |
transfers.map(tid => | |
<TransferRow {...{ | |
transfer: transfersById[tid], | |
key: `transfer-${tid}`, | |
toggleSelected: () => actions.toggleSelected(transfersById[tid]), | |
approveTransfer: () => actions.transferActionRequested(transfersById[tid], 'approve'), | |
cancelTransfer: () => actions.transferActionRequested(transfersById[tid], 'cancel'), | |
isLoading, | |
isSelected: some(selectedTransfers, stid => stid === tid) | |
}}/> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment