remove needless url string manipulation

pull/5370/head
Joseph Izang 11 months ago committed by Aniket
parent 7c594d0113
commit c009ca7085
  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