From 03153bc9ed657c17fe3cc0ad9eeff727e6119d68 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Fri, 1 Nov 2024 08:18:24 +0100 Subject: [PATCH] assert --- apps/remix-ide/src/app/udapp/run-tab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/udapp/run-tab.tsx b/apps/remix-ide/src/app/udapp/run-tab.tsx index 8b4467081e..bc811f8aff 100644 --- a/apps/remix-ide/src/app/udapp/run-tab.tsx +++ b/apps/remix-ide/src/app/udapp/run-tab.tsx @@ -304,7 +304,7 @@ class Provider { if (response.error) { reject(response.error.message) } else { - resolve(response.result) + resolve(response.result? response.result : response) } }).catch((err) => { if (typeof err === 'string') {