|
|
|
@ -32,11 +32,10 @@ export function UniversalDappUI(props: UdappProps) { |
|
|
|
|
let version = '' |
|
|
|
|
try { |
|
|
|
|
version = window.location.href.split('=')[5].split('+')[0].split('-')[1] |
|
|
|
|
console.log('try part to see what version is', version) |
|
|
|
|
} catch { |
|
|
|
|
version = window.location.href.split('=')[5].split('+')[0].split('-')[1] |
|
|
|
|
console.log('there was an error so retrying. lets see what version is now', version) |
|
|
|
|
} |
|
|
|
|
return version |
|
|
|
|
} |
|
|
|
|
useEffect(() => { |
|
|
|
|
if (!props.instance.abi) { |
|
|
|
|