From e381c09e338bcbf0fe4d0eafc2bc071c50558dce Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 17 Jun 2024 22:24:23 +0200 Subject: [PATCH] fix semver check --- 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 68b66c13d6..10ceded22d 100644 --- a/libs/remix-ui/run-tab/src/lib/run-tab.tsx +++ b/libs/remix-ui/run-tab/src/lib/run-tab.tsx @@ -88,7 +88,7 @@ export function RunTabUI(props: RunTabProps) { try { const regVersion = window.location.href.match(/soljson-v(.*)\+commit/g) if (regVersion && regVersion[1]) version = regVersion[1] - if (semver.lt(version, '0.6')) { + if (semver.lt(version, '0.6.0')) { setSolcVersion({ version: version, canReceive: false }) } else { setSolcVersion({ version: version, canReceive: true })