Skip to content

Commit

Permalink
Merge pull request #276 from skalenetwork/upgrade-rainbowkit
Browse files Browse the repository at this point in the history
Upgrade rainbowkit - add exports for useConnectModal
  • Loading branch information
dmytrotkk authored Aug 14, 2024
2 parents afc1564 + 20312f5 commit c6f128f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,14 @@ import {
useAccount as useWagmiAccount,
useWalletClient as useWagmiWalletClient,
useSwitchChain as useWagmiSwitchNetwork,
useSignMessage as useWagmiSignMessage,
useSignMessage as useWagmiSignMessage
} from 'wagmi'
import { ConnectButton as RainbowConnectButton } from '@rainbow-me/rainbowkit'
import {
ConnectButton as RainbowConnectButton,
useConnectModal,
useAccountModal,
useChainModal
} from '@rainbow-me/rainbowkit'

import { PROXY_ENDPOINTS, enforceNetwork } from './core/network'
import { walletClientToSigner } from './core/ethers'
Expand Down Expand Up @@ -105,5 +110,8 @@ export {
chainBg,
getChainAlias,
enforceNetwork,
RainbowConnectButton
RainbowConnectButton,
useConnectModal,
useAccountModal,
useChainModal
}

0 comments on commit c6f128f

Please sign in to comment.