fix error notification to show in terminal

pull/5367/head
Joseph Izang 3 weeks ago committed by Aniket
parent fc20cf9117
commit 9c0433f9c5
  1. 2
      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)

Loading…
Cancel
Save