Open corywatilo opened 1 year ago
When a team member doesn't have a photo in their bio, it causes builds to fail.
error Building static HTML failed for path "/team" -- 12:01:09.572 | 12:01:09.572 | 14 \| export const TeamMember = (teamMember) => { 12:01:09.573 | 15 \| const { 12:01:09.573 | > 16 \| avatar: { url: avatar }, 12:01:09.573 | \| ^ 12:01:09.573 | 17 \| lastName, 12:01:09.574 | 18 \| firstName, 12:01:09.574 | 19 \| companyRole, 12:01:09.574 | 12:01:09.574 | 12:01:09.574 | WebpackError: TypeError: Cannot read properties of null (reading 'url')
We should have a fallback image for team members with no photo - we can use Max's profile photo for now.
@smallbrownbike Can't remember if we fixed this or not?
When a team member doesn't have a photo in their bio, it causes builds to fail.
We should have a fallback image for team members with no photo - we can use Max's profile photo for now.