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') {