When the user clicks “Connect Wallet”, the dApp prompts to select a Safe wallet. After choosing the Safe wallet and selecting a private wallet (e.g., MetaMask), the app asks for the Safe address and network.
Upon clicking “Connect to Safe”, the following error appears in the console:
useBuyWithCryptoStat….browser.esm.js:216
Error connecting to wallet: Error: __classPrivateFieldGet(…).getNetwork is not a function
safeWallet-c3871ee1.browser.esm.js:158
Error: __classPrivateFieldGet(…).getNetwork is not a function
at _SafeWallet._connect (base-a72d5b10.browser.esm.js:266:13)
at async _SafeWallet.connect (base-a72d5b10.browser.esm.js:214:21)
at async useBuyWithCryptoStat…rowser.esm.js:213:7
at async handleSubmit (safeWallet-c3871ee1.browser.esm.js:151:7)