We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8657bb commit 65d981aCopy full SHA for 65d981a
1 file changed
src/components/ListComponent.js
@@ -37,9 +37,7 @@ function ListComponent({ fetchData, refresh, renderItem, withAds }) {
37
return items.map((item, index) => {
38
let content = [renderItem(item, index)]
39
if(withAds && index == 0) {
40
- content.unshift(
41
- <CarbonAd />
42
- )
+ content.unshift(<CarbonAd key={'carbonAd0'} />)
43
}
44
return content
45
})
0 commit comments