From 1d4b89551dd16f0d5386dd5de243a7cccfdd00e4 Mon Sep 17 00:00:00 2001 From: Matt Jones <885417+jonesmac@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:37:03 -0500 Subject: [PATCH] safe walk response when requesting accounts --- packages/crypto/src/contexts/Ethers/MetaMask.stories.tsx | 3 ++- packages/crypto/src/contexts/Ethers/MetaMask.tsx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/crypto/src/contexts/Ethers/MetaMask.stories.tsx b/packages/crypto/src/contexts/Ethers/MetaMask.stories.tsx index ff4aeeea..ab43c1b9 100644 --- a/packages/crypto/src/contexts/Ethers/MetaMask.stories.tsx +++ b/packages/crypto/src/contexts/Ethers/MetaMask.stories.tsx @@ -17,7 +17,7 @@ const StorybookEntry = { } as Meta const ConnectMetaMaskProvider = () => { - const { connect, chainId, error, isConnected, localAddress, provider, providerName, signer, walletProvider } = useEthersContext() + const { connect, connectRefused, chainId, error, isConnected, localAddress, provider, providerName, signer, walletProvider } = useEthersContext() return (