Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit ca46355

Browse files
committed
feat: update rainbowkit version
1 parent b2d4092 commit ca46355

File tree

3 files changed

+206
-220
lines changed

3 files changed

+206
-220
lines changed

src/adapter/evm/with-rainbowkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": false,
55
"dependencies": {
66
"@blocto/rainbowkit-connector": "^2",
7-
"@rainbow-me/rainbowkit": "^2.0.4",
7+
"@rainbow-me/rainbowkit": "^2.0.5",
88
"@testing-library/jest-dom": "^6.4.2",
99
"@testing-library/react": "^14.2.2",
1010
"@testing-library/user-event": "^14.5.2",

src/adapter/evm/with-rainbowkit/src/index.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,16 @@ import {
2020
import { bloctoWallet } from "@blocto/rainbowkit-connector";
2121

2222
const projectId = "YOUR_PROJECT_ID";
23-
2423
const appName = "RainbowKit demo";
2524

2625
const connectors = connectorsForWallets(
2726
[
28-
{
29-
groupName: "Popular",
30-
wallets: [
27+
{groupName: "Popular", wallets: [
3128
rainbowWallet,
3229
metaMaskWallet,
33-
// @ts-ignore
3430
bloctoWallet(),
3531
coinbaseWallet,
36-
],
37-
},
32+
],},
3833
],
3934
{
4035
projectId,

0 commit comments

Comments
 (0)