Skip to content

Commit

Permalink
fix: pass auto connect flag to wallet provider
Browse files Browse the repository at this point in the history
  • Loading branch information
aramalipoor committed Nov 25, 2022
1 parent 2ff2304 commit 1d826c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/react/src/core/wallet/providers/wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,10 @@ export const WalletProvider = ({
WalletContext.Provider,
{ value },
<WagmiConfig client={wagmiClient} {...wagmiOverrides}>
<WalletAutomationWrapper preferredChainId={preferredChainId}>
<WalletAutomationWrapper
tryAutoConnect={tryAutoConnect}
preferredChainId={preferredChainId}
>
{children}
</WalletAutomationWrapper>
</WagmiConfig>,
Expand Down

0 comments on commit 1d826c7

Please sign in to comment.