From 7d0cc3be04f2bceef0b8bcdc83bc59bf8880201d Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 25 Sep 2023 13:43:40 +0200 Subject: [PATCH] undo change --- apps/remix-ide/src/app/providers/injected-provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/providers/injected-provider.tsx b/apps/remix-ide/src/app/providers/injected-provider.tsx index c1ac29256e..0f26bfc513 100644 --- a/apps/remix-ide/src/app/providers/injected-provider.tsx +++ b/apps/remix-ide/src/app/providers/injected-provider.tsx @@ -105,7 +105,7 @@ export abstract class InjectedProvider extends Plugin implements IProvider { resolve({jsonrpc: '2.0', error: 'no return data provided', id: data.id}) } } catch (error) { - if (error.data && error.data.originalError && error.data.originalError.data) { + if (error.data.originalError && error.data.originalError.data) { resolve({ jsonrpc: '2.0', error: error.data.originalError.message,