formatting

PR feedback
This commit is contained in:
Richard van der Hoff 2016-07-27 15:41:24 +01:00
parent 1a600b0674
commit 39ae8c6e46

View file

@ -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));