diff --git a/src/components/views/avatars/BaseAvatar.js b/src/components/views/avatars/BaseAvatar.js index 456539b374..70c0ed3eae 100644 --- a/src/components/views/avatars/BaseAvatar.js +++ b/src/components/views/avatars/BaseAvatar.js @@ -145,30 +145,30 @@ module.exports = React.createClass({ if (imageUrl === this.state.defaultImageUrl) { const initialLetter = this._getInitialLetter(name); + const textNode = ; + const imgNode = ; if (onClick != null) { return ( - - + {textNode} + {imgNode} ); } else { return ( - - + {textNode} + {imgNode} ); }