From c3391855d0269452532c4e68df968619fd77eadd Mon Sep 17 00:00:00 2001 From: Christophe Le Bars Date: Sun, 7 Nov 2021 18:29:06 -0500 Subject: [PATCH] typo --- src/web3-store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web3-store.js b/src/web3-store.js index fa116bf..65cf4f4 100644 --- a/src/web3-store.js +++ b/src/web3-store.js @@ -68,7 +68,7 @@ export const createStore = () => { const setBrowserProvider = async () => { init() - if (!getWindowEthereum()) throw new Error('Please autorized browser extension (Metamask or similar)') + if (!getWindowEthereum()) throw new Error('Please authorize browser extension (Metamask or similar)') const res = await getWindowEthereum().request({ method: 'eth_requestAccounts' }) getWindowEthereum().on('accountsChanged', setBrowserProvider) getWindowEthereum().on('chainChanged', setBrowserProvider)