We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At line 184 isMetamaskInstalled() will return undefined so turning it into a false positive will go for Onboarding
isMetamaskInstalled()
undefined
const updateButtons = () => { const accountButtonsDisabled = !isMetaMaskInstalled() || !isMetaMaskConnected() if (accountButtonsDisabled) { for (const button of accountButtons) { button.disabled = true } clearTextDisplays() } else { deployButton.disabled = false sendButton.disabled = false createToken.disabled = false personalSign.disabled = false signTypedData.disabled = false getEncryptionKeyButton.disabled = false ethSign.disabled = false personalSign.disabled = false signTypedData.disabled = false signTypedDataV3.disabled = false signTypedDataV4.disabled = false } if (!isMetaMaskInstalled()) { addEthereumChain.disabled = true onboardButton.innerText = 'Click here to install MetaMask!' onboardButton.onclick = onClickInstall onboardButton.disabled = false } else if (isMetaMaskConnected()) { addEthereumChain.disabled = false onboardButton.innerText = 'Connected' onboardButton.disabled = true if (onboarding) { onboarding.stopOnboarding() } } else { addEthereumChain.disabled = true onboardButton.innerText = 'Connect' onboardButton.onclick = onClickConnect onboardButton.disabled = false } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At line 184
isMetamaskInstalled()
will returnundefined
so turning it into a false positive will go for OnboardingThe text was updated successfully, but these errors were encountered: