remove needless url string manipulation

pull/4417/head
Joseph Izang 11 months ago committed by Aniket
parent e0bff86051
commit dd4392f17b
  1. 3
      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 () => {

Loading…
Cancel
Save