From 091f98f492764901ddd68a96a1d82d69ccd9c8f0 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 8 Mar 2023 11:59:26 +0100 Subject: [PATCH] fix issues --- apps/remix-ide/src/app.js | 2 +- apps/remixdocgen/src/app/App.tsx | 2 +- apps/remixdocgen/src/app/docgen-client.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js index a2a89a6d9d..8155a709ab 100644 --- a/apps/remix-ide/src/app.js +++ b/apps/remix-ide/src/app.js @@ -413,7 +413,7 @@ class AppComponent { await this.appManager.activatePlugin(['settings', 'config']) await this.appManager.activatePlugin(['hiddenPanel', 'pluginManager', 'codeParser', 'codeFormatter', 'fileDecorator', 'terminal', 'blockchain', 'fetchAndCompile', 'contentImport', 'gistHandler']) 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( 'filePanel', diff --git a/apps/remixdocgen/src/app/App.tsx b/apps/remixdocgen/src/app/App.tsx index ededc9d03f..2df11ab040 100644 --- a/apps/remixdocgen/src/app/App.tsx +++ b/apps/remixdocgen/src/app/App.tsx @@ -42,7 +42,7 @@ const App = () => { useEffect(() => { console.log("Remix EthDoc loading..."); - const client = createClient(new PluginClient()); + const client = createClient(new PluginClient()) const loadClient = async () => { await client.onload(); setClientInstance(client); diff --git a/apps/remixdocgen/src/app/docgen-client.ts b/apps/remixdocgen/src/app/docgen-client.ts index 39647e6889..e56f326019 100644 --- a/apps/remixdocgen/src/app/docgen-client.ts +++ b/apps/remixdocgen/src/app/docgen-client.ts @@ -10,7 +10,6 @@ export class DocGenClient extends PluginClient { this.methods = ['generateDocs', 'publishDocs'] this.client.onload(async () => { - await this.client.activate() }) }