mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
formatting
PR feedback
This commit is contained in:
parent
1a600b0674
commit
39ae8c6e46
1 changed files with 5 additions and 3 deletions
|
@ -135,9 +135,11 @@ module.exports = React.createClass({
|
|||
render: function() {
|
||||
var imageUrl = this.state.imageUrls[this.state.urlsIndex];
|
||||
|
||||
const {name, idName, title, url, urls, width, height, resizeMethod,
|
||||
defaultToInitialLetter,
|
||||
...otherProps} = this.props;
|
||||
const {
|
||||
name, idName, title, url, urls, width, height, resizeMethod,
|
||||
defaultToInitialLetter,
|
||||
...otherProps
|
||||
} = this.props;
|
||||
|
||||
if (imageUrl === this.state.defaultImageUrl) {
|
||||
var initialLetter = emojifyText(this._getInitialLetter(name));
|
||||
|
|
Loading…
Reference in a new issue