Skip to content

Commit

Permalink
Bug fix, check payeeData
Browse files Browse the repository at this point in the history
  • Loading branch information
tescher committed Nov 3, 2022
1 parent 545502c commit 67c7cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-app/src/components/pages/Bounties/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const SelectExport = ({
if (bounties) {
const exportBounties = (bounties
.filter(({ _id }) => selectedBounties.includes(_id))
.filter(bounty => bounty.claimedBy && bounty.payeeData.walletAddress && ALLOWED_CURRENCY_CONTRACTS[bounty.reward.currency as ALLOWED_CURRENCIES_TYPE]) as any[])
.filter(bounty => bounty.claimedBy && bounty.payeeData && bounty.payeeData.walletAddress && ALLOWED_CURRENCY_CONTRACTS[bounty.reward.currency as ALLOWED_CURRENCIES_TYPE]) as any[])
.map((bounty) => {
if (bounty['claimedBy']) {
bounty['compositeName'] = bounty['claimedBy']['discordHandle'];
Expand Down

0 comments on commit 67c7cd6

Please sign in to comment.