Fix for elasticsearch upgrade breakage #66

Merged
rishighan merged 6 commits from elasticsearch-upgrade-fix into master 2023-03-02 05:32:43 +00:00
Showing only changes of commit 179e4122d7 - Show all commits

View File

@@ -61,9 +61,10 @@ export const SearchBar = (data: ISearchBarProps): ReactElement => {
margin: "60px 0 0 350px",
}}
>
{map(searchResults, (result) => (
{map(searchResults, (result, idx) => (
<MetadataPanel
data={result}
key={idx}
imageStyle={{ maxWidth: 70 }}
titleStyle={{ fontSize: "0.8rem" }}
tagsStyle={{ fontSize: "0.7rem" }}