Volleyball Elite Academy development update
|
Volleyball Elite Academy
Fix Athlete Profile Crash for Parents
|
Fix Athlete Profile Crash for ParentsVolleyball Elite Academy — Development Update • May 6, 2026
Fix Athlete Profile Crash for Parents
What & Why Parents get "Something went wrong" every time they click "View Profile" for their child. The athlete-summary page crashes during React rendering because the coach connections API response sends different field names (, , no ) than what the frontend code tries to read (, , ). Calling on the undefined field throws a TypeError, which the error boundary catches and shows the crash screen.
Done looks like
- Parents can open their child's Athlete Profile page without seeing the "Something went wrong" crash.
- Coach Connections section displays the context label and active/inactive status correctly (or is hidden when the coach name is unavailable).
- If no coach connections exist, the page renders normally (no change needed).
Out of scope
- Adding or editing coach connections from the parent view
- Changing how coach connections are stored in the database
Relevant files - -
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment