code is here
<React.Fragment>
<div className="js-container">
<div className="js-sidecontent">
{[{ title: "Js, values: ["s1", "s2"]}].map((f_list) => (
<div className="js-sidecontent-container" key={f_list.title}>
<button className="feature-title">{f_list.title}</button>
{f_list.values.map((f_list_value) => (
<button className="feature-title-list">{f_list_value}</button>
))}
</div>
))}
</div>
</div>
</React.Fragment>
I have the above code within the render method of React Component and I have the key-value as the property of parent div element. still, I am getting below Error in Console.
Warning: Each child in a list should have a unique "key" prop.
How it can be solved?