Skip to content

Commit 2222f78

Browse files
committed
fix shit
1 parent 6bcb22e commit 2222f78

File tree

3 files changed

+12
-34
lines changed

3 files changed

+12
-34
lines changed

package-lock.json

Lines changed: 5 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@ethersproject/contracts": "^5.7.0",
1010
"@hookform/error-message": "^2.0.1",
1111
"@hookform/resolvers": "^2.8.10",
12-
"@nimi.io/card": "nimi-app/card#a9eef8ec9bc031d50f77305a290f1beab65b4c86",
12+
"@nimi.io/card": "nimi-app/card#v0.13.0",
1313
"@rainbow-me/rainbowkit": "^0.8.0",
1414
"@tanstack/react-query": "^4.16.1",
1515
"@testing-library/jest-dom": "^5.16.4",
@@ -62,9 +62,11 @@
6262
},
6363
"browserslist": {
6464
"production": [
65-
">0.2%",
66-
"not dead",
67-
"not op_mini all"
65+
"chrome >= 67",
66+
"edge >= 79",
67+
"firefox >= 68",
68+
"opera >= 54",
69+
"safari >= 14"
6870
],
6971
"development": [
7072
"last 1 chrome version",

src/providers/Wagmi/WagmiProvider.tsx

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
import { connectorsForWallets } from '@rainbow-me/rainbowkit';
2-
import {
3-
argentWallet,
4-
coinbaseWallet,
5-
injectedWallet,
6-
ledgerWallet,
7-
metaMaskWallet,
8-
rainbowWallet,
9-
walletConnectWallet,
10-
} from '@rainbow-me/rainbowkit/wallets';
112
import { PropsWithChildren } from 'react';
123
import { configureChains, createClient, WagmiConfig } from 'wagmi';
134
import { alchemyProvider } from 'wagmi/providers/alchemy';
@@ -25,20 +16,7 @@ export const { chains, provider } = configureChains(SUPPORT_CHAINS_RAINBOW_KIT,
2516
publicProvider(),
2617
]);
2718

28-
const env = process.env.REACT_APP_EVENT_NAME;
29-
30-
const wallets =
31-
env === 'RIO'
32-
? [rainbowWeb3AuthConnector({ chains }) as any]
33-
: [
34-
metaMaskWallet({ chains }),
35-
argentWallet({ chains }),
36-
coinbaseWallet({ appName: 'Nimi', chains }),
37-
rainbowWallet({ chains }),
38-
ledgerWallet({ chains }),
39-
injectedWallet({ chains }),
40-
walletConnectWallet({ chains }),
41-
];
19+
const wallets = [rainbowWeb3AuthConnector({ chains }) as any];
4220

4321
const connectors = connectorsForWallets([
4422
{

0 commit comments

Comments
 (0)