From 24d5b591c05d292bef149b0531a2d2a1606bc496 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 24 Apr 2024 14:50:03 +0200 Subject: [PATCH] naming --- apps/remix-ide/src/blockchain/blockchain.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/blockchain/blockchain.tsx b/apps/remix-ide/src/blockchain/blockchain.tsx index 5a81e11495..b30a88c0ad 100644 --- a/apps/remix-ide/src/blockchain/blockchain.tsx +++ b/apps/remix-ide/src/blockchain/blockchain.tsx @@ -120,8 +120,8 @@ export class Blockchain extends Plugin { onDeactivation() { this.active = false - for (const plugin of this.registeredPluginEvents) { - this.off(plugin, 'chainChanged') + for (const pluginName of this.registeredPluginEvents) { + this.off(pluginName, 'chainChanged') } }