diff --git a/interface/components/DappIdenticon.js b/interface/components/DappIdenticon.js index a9211006c..1129c23cb 100644 --- a/interface/components/DappIdenticon.js +++ b/interface/components/DappIdenticon.js @@ -41,23 +41,11 @@ export default class DappIdenticon extends Component { .toDataURL(); } - renderLink() { - /* - return ( - - - - ) - */ - } - render() { - if (!this.props.identity) { - return null; - } + const { identity } = this.props; - if (this.props.link) { - return this.renderLink(); + if (!identity) { + return null; } // dapp class sizes: large, medium, small, tiny @@ -66,11 +54,13 @@ export default class DappIdenticon extends Component { className={`dapp-identicon dapp-${this.props.size}`} title={i18n.t('elements.identiconHelper')} style={{ - backgroundImage: `url('${this.identiconData(this.props.identity)}')` + backgroundImage: `url('${this.identiconData( + identity.toLowerCase() + )}')` }} >