I am having a problem of list index. Whenever I use my application, and click on a list item, data gets loaded from the previous list item.
For example, when I click on the second list item, a new page opens that has to load data from airtable. And in database, I have four column, title, image, author and post. So clicking a list item should open a page with data from the same row. But it does not do that, and my app loads data from the previous list item’s row.
Here’s the code:-
Here’ the error:-
Here’s the database:-