Commit bb7826c7 authored by aleclofabbro's avatar aleclofabbro

Merge branch 'fix/search_items_react_key_missing' into develop

parents 51d8910d 0087e6a9
......@@ -25,7 +25,6 @@ export const Search: SFC<Props> = ({ previews, pagination, filter }) => {
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/instantsearch.css@7.1.1/themes/reset-min.css"
/>
<MainContainer>
<HomeBox>
<SearchWrapper>
......@@ -34,8 +33,8 @@ export const Search: SFC<Props> = ({ previews, pagination, filter }) => {
<Header name="Search results" />
<Box>
{previews.map(bag => (
<Box m={2}>
<bag.Comp {...bag.props} key={bag.key} />
<Box m={2} key={bag.key}>
<bag.Comp {...bag.props} />
</Box>
))}
</Box>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment