Commit 9e213fc3 authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

fix: update web3-react (#6749)

* fix: update web3-react

* update flakey snapshot test and add required config var

* revert snapshot change

* allow ^

* update lockfile with permissive version

* add newly required explicit options for @web3modal
parent f10ba735
...@@ -33,11 +33,21 @@ export class WalletConnectV2Popup extends WalletConnect { ...@@ -33,11 +33,21 @@ export class WalletConnectV2Popup extends WalletConnect {
showQrModal: qrcode, showQrModal: qrcode,
rpcMap: RPC_URLS_WITHOUT_FALLBACKS, rpcMap: RPC_URLS_WITHOUT_FALLBACKS,
qrModalOptions: { qrModalOptions: {
chainImages: undefined,
desktopWallets: undefined,
enableExplorer: true,
explorerExcludedWalletIds: undefined,
explorerRecommendedWalletIds: undefined,
mobileWallets: undefined,
privacyPolicyUrl: undefined,
termsOfServiceUrl: undefined,
themeMode: darkmode ? 'dark' : 'light', themeMode: darkmode ? 'dark' : 'light',
themeVariables: { themeVariables: {
'--w3m-font-family': '"Inter custom", sans-serif', '--w3m-font-family': '"Inter custom", sans-serif',
'--w3m-z-index': Z_INDEX.modal.toString(), '--w3m-z-index': Z_INDEX.modal.toString(),
}, },
tokenImages: undefined,
walletImages: undefined,
}, },
}, },
onError, onError,
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment