diff --git a/src/app/tabs/support-tab.js b/src/app/tabs/support-tab.js
index 9b751e66a9..b168af1258 100644
--- a/src/app/tabs/support-tab.js
+++ b/src/app/tabs/support-tab.js
@@ -37,6 +37,7 @@ class SupportTab extends ApiFactory {
this.gitterIframe = yo`
`
+ generateRemixdUI () {
const remixd = yo`
Accessing local files
@@ -49,7 +50,10 @@ class SupportTab extends ApiFactory {
Installation:
npm install remixd -g
`
+ return remixd
+ }
+ generateLocalRemixdUI () {
const localremixd = yo`
Running Remix locally
@@ -63,6 +67,13 @@ class SupportTab extends ApiFactory {
https://github.com/horizon-games/remix-app
`
+ return localremixd
+ }
+
+ render () {
+ if (this.el) return this.el
+
+ this.gitterIframe = yo``
this.el = yo`
@@ -78,8 +89,8 @@ class SupportTab extends ApiFactory {
${this.gitterIframe}
- ${remixd}
- ${localremixd}
+ ${this.generateRemixdUI()}
+ ${this.generateLocalRemixdUI()}
`
return this.el