diff --git a/src/avatar.js b/src/avatar.js index 6e9f612..223c566 100644 --- a/src/avatar.js +++ b/src/avatar.js @@ -20,7 +20,7 @@ const Avatar = ({ if (name) { srcProp = `https://images.carbonplan.org/team/${name .toLowerCase() - .replace(' ', '-')}.png` + .replaceAll(' ', '-')}.png` altProp = alt || name } else if (github) { srcProp = `https://github.com/${github}.png`