Closed rpineda26 closed 11 months ago
🛠️ Fix: The bug was caused by a side effect of asynchronous awaits. Due to this part of the code... ...this part of the code wasn't able to update the ages correctly.
As a fix, the previously error-producing forEach with async functions has been replaced with a simple for loop, solving the issue.
New Output/Behavior: The age field now displays properly as intended.
💾 Description: When choosing which child to sponsor, the age of the child is not rendered properly. However, when choosing a child and moving on to the page that gives more description to the child, the age is rendered correctly. ⏰ Expected Outcome: The age of the child should be seen in the page where the sponsor must choose from a list of children. ☎️ Actual Outcome: The age of the child is not rendered. 🎶 Steps to Reproduce:
The first image shows the page with an error.
The second image shows the page free of error.