Render in NextJs
Answered
Asian black bear posted this in #help-forum
Asian black bearOP
can anyone help me why does it always throw error of undefined when I filter the table in
handleFilter function while I can console log and see the productData? I do use useState to re-render my UI. what did I do wrong? productData is just array of javascript objects.Answered by Asian black bear
I am deeply sorry, I access
name meanwhile my object only has title property.4 Replies
Asian black bearOP
my code:
the error:
Asian black bearOP
I am deeply sorry, I access
name meanwhile my object only has title property.Answer
No need to be so sorry, we make mistakes all the time