Use index from BountyDerive (#4300)
This commit is contained in:
parent
f62d501d86
commit
6d0a3f9484
@ -41,13 +41,13 @@ function Bounties (): React.ReactElement {
|
||||
empty={deriveBounties && t<string>('No open bounties')}
|
||||
header={headerRef.current}
|
||||
>
|
||||
{deriveBounties && bestNumber && deriveBounties.map(({ bounty, description }, index) => (
|
||||
{deriveBounties && bestNumber && deriveBounties.map(({ bounty, description, index }) => (
|
||||
<Bounty
|
||||
bestNumber={bestNumber}
|
||||
bounty={bounty}
|
||||
description={description}
|
||||
index={index}
|
||||
key={index}
|
||||
key={index.toNumber()}
|
||||
/>
|
||||
))}
|
||||
</Table>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user