Skip to content

Commit

Permalink
fix: maybe fix safe
Browse files Browse the repository at this point in the history
  • Loading branch information
aeolianeth committed Jul 3, 2024
1 parent b156308 commit 149561e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/hooks/Wallet/useInitWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ export function initWeb3Onboard() {
console.info('Initializing Web3Onboard...')

const injected = injectedModule()
const gnosis = safeModule({
whitelistedDomains: [/.*nance.app/, /.*juicebox.money/, /juicebox.money/],
})
const safe = safeModule()
// {
// whitelistedDomains: [/.*nance.app/, /.*juicebox.money/, /juicebox.money/],
// }
const walletConnect = walletConnectModule({
dappUrl: 'https://juicebox.money',
version: 2,
Expand All @@ -30,7 +31,7 @@ export function initWeb3Onboard() {
const coinbaseWalletSdk = coinbaseWalletModule()

return init({
wallets: [injected, gnosis, walletConnect, coinbaseWalletSdk],
wallets: [injected, safe, walletConnect, coinbaseWalletSdk],
chains: Object.values(NETWORKS).map(n => ({
id: unpadLeadingZerosString(BigNumber.from(n.chainId).toHexString()),
rpcUrl: n.rpcUrl,
Expand Down

0 comments on commit 149561e

Please sign in to comment.