Skip to content

Commit f82bfcc

Browse files
committed
patch : Clean the remaining lint warnings in src/lib/sbt/client.ts. and Review the contract/deploy config for any remaining web3 edge cases.
1 parent 2d9fb55 commit f82bfcc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/lib/wallet/wagmi.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import { http, createConfig } from 'wagmi';
1515
import { mainnet, sepolia, base, optimism, arbitrum, polygon, bsc, bscTestnet } from 'wagmi/chains';
16-
import { injected, metaMask, walletConnect, coinbaseWallet } from 'wagmi/connectors';
16+
import { injected, walletConnect, coinbaseWallet } from 'wagmi/connectors';
1717

1818
// Polygon Amoy Testnet (不在 wagmi/chains 中,需要手動定義)
1919
const polygonAmoy = {
@@ -60,7 +60,6 @@ export const wagmiConfig = createConfig({
6060
],
6161
connectors: [
6262
injected({ shimDisconnect: true }),
63-
metaMask(),
6463
...(wcProjectId ? [walletConnect({ projectId: wcProjectId, showQrModal: true })] : []),
6564
coinbaseWallet({ appName: 'Datacenter Builder Simulator' }),
6665
],
@@ -88,4 +87,3 @@ declare module 'wagmi' {
8887

8988
// Export for use in other parts of the app
9089
export { polygonAmoy };
91-

0 commit comments

Comments
 (0)