Skip to content

Commit

Permalink
missing key added
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-eileen committed Oct 31, 2024
1 parent 96666ac commit 2360201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/token/TokenAutoCompleteField.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class TokenAutoCompleteField extends React.Component {

_renderNewAutocompleteResults() {
return this.state.searchResults.map(result => (
<li onClick={() => this.onItemSelected(result)} className="autocomplete-result-item">
<li key={result.id} onClick={() => this.onItemSelected(result)} className="autocomplete-result-item">
{result.name} ({result.symbol}) - {result.id}
</li>
));
Expand Down

0 comments on commit 2360201

Please sign in to comment.