Skip to content

Commit

Permalink
Dev (#35)
Browse files Browse the repository at this point in the history
* style: Add chains type declaration for dev example

* style: Add chains type declaration for dev example
  • Loading branch information
wenty22 authored Nov 27, 2023
1 parent 4a88b07 commit d3aaaf9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/moody-eels-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@totejs/walletkit': patch
---

Add chains type declaration for dev example
4 changes: 2 additions & 2 deletions packages/walletkit/dev/chains.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { bsc, mainnet } from 'wagmi/chains';
import { Chain, bsc, mainnet } from 'wagmi/chains';

export const chains = [
export const chains: Chain[] = [
{
id: 204,
name: 'opBNB Mainnet',
Expand Down
10 changes: 5 additions & 5 deletions website/src/components/WalletKit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ const config = createConfig(
connectors: [
trustWallet(),
metaMask(),
binanceWeb3Wallet(),
okxWallet(),
coinbaseWallet(),
mathWallet(),
tokenPocket(),
// binanceWeb3Wallet(),
// okxWallet(),
// coinbaseWallet(),
// mathWallet(),
// tokenPocket(),
walletConnect(),
],
}),
Expand Down

0 comments on commit d3aaaf9

Please sign in to comment.