diff --git a/examples/eth-dm/src/App.tsx b/examples/eth-dm/src/App.tsx index d855a44c14..79c8e4693c 100644 --- a/examples/eth-dm/src/App.tsx +++ b/examples/eth-dm/src/App.tsx @@ -30,6 +30,7 @@ function App() { useEffect(() => { if (provider) return; try { + window.ethereum.enable(); const _provider = new ethers.providers.Web3Provider(window.ethereum); setProvider(_provider); } catch (e) {