diff --git a/docs/tutorial/1-connect-to-asset-hub.md b/docs/tutorial/1-connect-to-asset-hub.md index 5869c8e..f5293ae 100644 --- a/docs/tutorial/1-connect-to-asset-hub.md +++ b/docs/tutorial/1-connect-to-asset-hub.md @@ -15,6 +15,7 @@ Alternatively, you can [manually add a custom network][add-network] using the se Connect your MetaMask wallet to Asset Hub using the following link: +
(Reload the page if the link does not work)
Or add it manually diff --git a/src/components/NetworkButton.tsx b/src/components/NetworkButton.tsx index 250e004..ae12332 100644 --- a/src/components/NetworkButton.tsx +++ b/src/components/NetworkButton.tsx @@ -27,7 +27,7 @@ async function addEthereumChain({ }: NetworkConfig) { const ethereum = window.ethereum if (!ethereum) { - alert('Please install MetaMask!') + alert('Please install MetaMask, or if it is already installed, reload the page.') return } @@ -38,7 +38,7 @@ async function addEthereumChain({ params: [{ chainId }], }) } catch (error) { - console.log("failed to switch network, let's add the network") + console.log("Failed to switch network, let's add the network.") } try {