This seems like a culprit. You’re setting items to a toString of the prevState items. Doing this means its no longer an array, rather a string.
1 Like
This seems like a culprit. You’re setting items to a toString of the prevState items. Doing this means its no longer an array, rather a string.
:: Copyright KIRUPA 2024 //--