We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa89358 commit 8be3a45Copy full SHA for 8be3a45
libs/wallet/src/web3-react/connection/safe.tsx
@@ -7,7 +7,19 @@ import { Web3ReactConnection } from '../types'
7
8
const [web3GnosisSafe, web3GnosisSafeHooks] = initializeConnector<AsyncConnector>(
9
(actions) =>
10
- new AsyncConnector(() => import('@web3-react/gnosis-safe').then((m) => new m.GnosisSafe({ actions })), actions)
+ new AsyncConnector(
11
+ () =>
12
+ import('@web3-react/gnosis-safe').then(
13
+ (m) =>
14
+ new m.GnosisSafe({
15
+ actions,
16
+ options: {
17
+ allowedDomains: [/app\.safe\.global$/, /(.+\.)?coinshift\.global$/, /localhost:5173$/],
18
+ },
19
+ }),
20
+ ),
21
22
23
)
24
export const gnosisSafeConnection: Web3ReactConnection = {
25
connector: web3GnosisSafe,
0 commit comments