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() {
|
render: function() {
|
||||||
var imageUrl = this.state.imageUrls[this.state.urlsIndex];
|
var imageUrl = this.state.imageUrls[this.state.urlsIndex];
|
||||||
|
|
||||||
const {name, idName, title, url, urls, width, height, resizeMethod,
|
const {
|
||||||
defaultToInitialLetter,
|
name, idName, title, url, urls, width, height, resizeMethod,
|
||||||
...otherProps} = this.props;
|
defaultToInitialLetter,
|
||||||
|
...otherProps
|
||||||
|
} = this.props;
|
||||||
|
|
||||||
if (imageUrl === this.state.defaultImageUrl) {
|
if (imageUrl === this.state.defaultImageUrl) {
|
||||||
var initialLetter = emojifyText(this._getInitialLetter(name));
|
var initialLetter = emojifyText(this._getInitialLetter(name));
|
||||||
|
|
Loading…
Reference in a new issue