Manually adding seeds using coreActions; Fixing removal of seeds

This commit is contained in:
James Barnsley
2017-09-21 08:24:33 +12:00
parent a45b67776f
commit 3371a6bb2b
3 changed files with 21 additions and 13 deletions

View File

@ -157,7 +157,7 @@ class Discover extends React.Component{
<span className="seed" key={seed.uri}>
{seed.name}
<span className="type">({type})</span>
<FontAwesome name="close" className="remove" onClick={() => this.removeSeed(seed.uri)} />
<FontAwesome name="close" className="remove" onClick={() => this.removeSeed(index)} />
</span>
)
})