diff --git a/libs/remix-ui/run-tab/src/lib/components/lowlevelInteractionIcon.tsx b/libs/remix-ui/run-tab/src/lib/components/lowlevelInteractionIcon.tsx index 2c84e2e984..47c9bdd528 100644 --- a/libs/remix-ui/run-tab/src/lib/components/lowlevelInteractionIcon.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/lowlevelInteractionIcon.tsx @@ -8,8 +8,7 @@ export type LowLevelInteractionIconProps = { } export function LowLevelInteractionIcon (props: LowLevelInteractionIconProps) { - const getVersion = () => window.location.href.split('=')[5].split('+')[0].split('-')[1] - const [version, setVersion] = useState(() => getVersion()) + const [version, setVersion] = useState('') useEffect(() => { const listenForCompileFinished = async () => {