From 739ec8e3c0ebb1b7e9a02796b94291ec8ddc0d26 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 16 Sep 2020 09:21:19 +0200 Subject: [PATCH] fix call to plugin --- apps/remix-ide/src/app/ui/auto-complete-popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/ui/auto-complete-popup.js b/apps/remix-ide/src/app/ui/auto-complete-popup.js index 92445bc30c..1bb1ec3386 100644 --- a/apps/remix-ide/src/app/ui/auto-complete-popup.js +++ b/apps/remix-ide/src/app/ui/auto-complete-popup.js @@ -192,7 +192,7 @@ class AutoCompletePopup { this.opts.appManager.event.on('activate', async (profile) => { if (!profile.methods) return profile.methods.forEach((method) => { - const key = `remix.call({name: '${profile.name}', key:'${method}', payload: []}).then((result) => { console.log(result) }).catch((error) => { console.log(error) })` + const key = `remix.call('${profile.name}', '${method}')` const keyValue = {} keyValue[key] = `call ${profile.name} - ${method}` if (this.extraCommands.includes(keyValue)) return