List item is showing same value

I have a page state named comment which is in form of
[

{

"updatedAt": "2023-07-11T05:31:58.201Z",

"createdAt": "2023-07-11T05:31:58.201Z",

"email": "[email protected]",

"comment": "Agreement & E-NACH "

},

{

"updatedAt": "2023-07-11T10:25:26.210Z",

"createdAt": "2023-07-11T10:25:26.210Z",

"email": "[email protected]",

"comment": "Agreement & E-NACH"

},

{

"updatedAt": "2023-07-11T13:14:09.678Z",

"createdAt": "2023-07-11T13:14:09.678Z",

"email": "[email protected]",

"comment": "Agreement & E-NACH"

}

]

How can i show the list items dynamically in list view. When i am trying to render it in list view it just shows the first item in all 3 items. Can someone guide how should i use list view.

2
2 replies