Commit 4031ca20 by Manivasagam S

key added

parent e87e07bf
...@@ -11,7 +11,7 @@ function App(){ ...@@ -11,7 +11,7 @@ function App(){
{ {
data.items.map((Element,index)=>{ data.items.map((Element,index)=>{
return ( return (
<Card {...Element} i={index+1} /> <Card key={index} {...Element} i={index+1} />
) )
}) })
} }
......
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