Cannot read properties of undefined (reading 'index')
yaximi111 opened this issue · 3 comments
yaximi111 commented
lukasbach commented
I'm not exactly sure why that issue comes up, I suppose it means your data provider returns undefined for certain item IDs. Nevertheless, I suppose the additional check doesn't hurt where you proposed it, I added it in the latest update.
yaximi111 commented
sorry The data returned by the backend is nested, and there are two pieces of the same data in it, and I expanded them all and one of them became undefined.
Thank you for your reply!
yaximi111 commented
I've solved the problem with it being data