pull/5370/head
Joseph Izang 2 years ago
parent 84a1b0f327
commit 091f98f492
  1. 2
      apps/remix-ide/src/app.js
  2. 2
      apps/remixdocgen/src/app/App.tsx
  3. 1
      apps/remixdocgen/src/app/docgen-client.ts

@ -413,7 +413,7 @@ class AppComponent {
await this.appManager.activatePlugin(['settings', 'config']) await this.appManager.activatePlugin(['settings', 'config'])
await this.appManager.activatePlugin(['hiddenPanel', 'pluginManager', 'codeParser', 'codeFormatter', 'fileDecorator', 'terminal', 'blockchain', 'fetchAndCompile', 'contentImport', 'gistHandler']) await this.appManager.activatePlugin(['hiddenPanel', 'pluginManager', 'codeParser', 'codeFormatter', 'fileDecorator', 'terminal', 'blockchain', 'fetchAndCompile', 'contentImport', 'gistHandler'])
await this.appManager.activatePlugin(['settings']) await this.appManager.activatePlugin(['settings'])
await this.appManager.activatePlugin(['walkthrough', 'storage', 'search', 'compileAndRun', 'recorder', 'docgen']) await this.appManager.activatePlugin(['walkthrough', 'storage', 'search', 'compileAndRun', 'recorder'])
this.appManager.on( this.appManager.on(
'filePanel', 'filePanel',

@ -42,7 +42,7 @@ const App = () => {
useEffect(() => { useEffect(() => {
console.log("Remix EthDoc loading..."); console.log("Remix EthDoc loading...");
const client = createClient(new PluginClient()); const client = createClient(new PluginClient())
const loadClient = async () => { const loadClient = async () => {
await client.onload(); await client.onload();
setClientInstance(client); setClientInstance(client);

@ -10,7 +10,6 @@ export class DocGenClient extends PluginClient {
this.methods = ['generateDocs', 'publishDocs'] this.methods = ['generateDocs', 'publishDocs']
this.client.onload(async () => { this.client.onload(async () => {
await this.client.activate()
}) })
} }

Loading…
Cancel
Save