refactor: Removed unusued index on the onSearchLink (#1420)

Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
ktfth 2020-08-11 23:59:11 -03:00 committed by GitHub
parent 63371d8f5b
commit 7abe375b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class DataLoader extends React.Component<Props> {
return results
.filter((result) => result.document.title)
.map((result, index) => ({
.map((result) => ({
title: result.document.title,
url: result.document.url,
}));