Line 50, Teams.tsx
teams.sort((a, b) => a.name?.toLowerCase().charCodeAt(0) - b.name?.toLowerCase().charCodeAt(0));
a.name, b.name were rendering as null at least once, causing page to break. I added conditional chaining to the name property and the page now loads, however no profile pictures are being rendered
Line 50, Teams.tsx
teams.sort((a, b) => a.name?.toLowerCase().charCodeAt(0) - b.name?.toLowerCase().charCodeAt(0));
a.name, b.name were rendering as null at least once, causing page to break. I added conditional chaining to the name property and the page now loads, however no profile pictures are being rendered