diff --git a/src/DappIcon/dappIcon.js b/src/DappIcon/dappIcon.js index 4cc2948..8cb8e32 100644 --- a/src/DappIcon/dappIcon.js +++ b/src/DappIcon/dappIcon.js @@ -63,7 +63,7 @@ class DappIcon extends Component { switch (app.type) { case 'view': { - if (!this.dappsUrlStore.dappsUrl) return null; + if (!this.dappsUrlStore.dappsUrl) return
; // Blank frame const dappHost = (process.env.DAPPS_URL || `${this.dappsUrlStore.dappsUrl}/ui`).trimRight('/'); const fallbackSrc = @@ -73,7 +73,7 @@ class DappIcon extends Component { break; } case 'local': { - if (!this.dappsUrlStore.dappsUrl) return null; + if (!this.dappsUrlStore.dappsUrl) return ; // Blank frame imageSrc = `${this.dappsUrlStore.dappsUrl}/${app.id}/${app.iconUrl}`; break;