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 =
+ {initialLetter}
+ ;
+ const imgNode = ;
if (onClick != null) {
return (
- {initialLetter}
-
+ {textNode}
+ {imgNode}
);
} else {
return (
- {initialLetter}
-
+ {textNode}
+ {imgNode}
);
}