From 9c0433f9c591663d2b37e6286916fda9f05807a1 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Sat, 2 Nov 2024 00:52:29 +0100 Subject: [PATCH] fix error notification to show in terminal --- libs/remix-ui/run-tab/src/lib/run-tab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/run-tab/src/lib/run-tab.tsx b/libs/remix-ui/run-tab/src/lib/run-tab.tsx index f8bf41c447..a210aa7dbb 100644 --- a/libs/remix-ui/run-tab/src/lib/run-tab.tsx +++ b/libs/remix-ui/run-tab/src/lib/run-tab.tsx @@ -136,7 +136,7 @@ export function RunTabUI(props: RunTabProps) { const chain = await returnCompatibleChain(ideDefault, targetChainId) if (chain === undefined) { //show modal - await plugin.call('notification', 'alert', { id: 'evm-chainId-error', message: 'No compatible chain found for the selected EVM version.', title: 'Error' }) + plugin.call('terminal', 'log', { type: 'log', value: 'No compatible chain found for the selected EVM version.' }) return } else { setEvmCheckComplete(true)