Closed 6mp closed 1 year ago
This PR is being deployed to Railway 🚅
admin-portal: ◻️ REMOVED
Associated issue in Monday is here: https://grassroots-grocery.monday.com/boards/2826542086/pulses/4976238683/posts/2342246196
Just need to figure a way to test without triggering the actual texts.
This is a good fix as discussed in Monday, but is not the actual issue that Dan had, and isn't the cause of the unrelated errors we're seeing in the logs. But, we should add this one so that it handles the scenario of no records in the response. I'll create new issue for the other one.
Description of this change
Attempting to fix as discussed on monday.com. Fix involves checking if array is empty before mapping.