diff --git a/packages/core/src/wallet/metamaskBridge.ts b/packages/core/src/wallet/metamaskBridge.ts index 6462f58..1cb9944 100644 --- a/packages/core/src/wallet/metamaskBridge.ts +++ b/packages/core/src/wallet/metamaskBridge.ts @@ -174,7 +174,7 @@ function createMetaMaskProviderWrapper( } async function injectMetamaskBridge(windowObject: Record) { - if (window.hasOwnProperty("starknet_metamask")) { + if (windowObject.hasOwnProperty("starknet_metamask")) { return }