From c112a357e7eaf703871a69365bec0154c2dff66b Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Thu, 19 Dec 2024 17:32:57 +0500 Subject: [PATCH] fix: allow any safe-like apps --- libs/wallet/src/web3-react/connection/safe.tsx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/libs/wallet/src/web3-react/connection/safe.tsx b/libs/wallet/src/web3-react/connection/safe.tsx index 98fd713a94..c200bb82d6 100644 --- a/libs/wallet/src/web3-react/connection/safe.tsx +++ b/libs/wallet/src/web3-react/connection/safe.tsx @@ -7,19 +7,7 @@ import { Web3ReactConnection } from '../types' const [web3GnosisSafe, web3GnosisSafeHooks] = initializeConnector( (actions) => - new AsyncConnector( - () => - import('@web3-react/gnosis-safe').then( - (m) => - new m.GnosisSafe({ - actions, - options: { - allowedDomains: [/app\.safe\.global$/, /(.+\.)?coinshift\.global$/, /localhost:5173$/], - }, - }), - ), - actions, - ), + new AsyncConnector(() => import('@web3-react/gnosis-safe').then((m) => new m.GnosisSafe({ actions })), actions), ) export const gnosisSafeConnection: Web3ReactConnection = { connector: web3GnosisSafe,