Run eslint on App.tsx
This commit is contained in:
parent
13142d67cc
commit
1d8e079e73
17
src/App.tsx
17
src/App.tsx
@ -1,12 +1,11 @@
|
||||
import React, {useState} from 'react';
|
||||
import logo from './logo.svg';
|
||||
import './App.css';
|
||||
import React, {useState} from "react";
|
||||
import "./App.css";
|
||||
|
||||
import Web3 from 'web3';
|
||||
import { WagmiConfig, createClient, configureChains, mainnet, useConnect, useAccount, useDisconnect } from 'wagmi'
|
||||
import Web3 from "web3";
|
||||
import { WagmiConfig, createClient, configureChains, mainnet, useConnect, useAccount, useDisconnect } from "wagmi"
|
||||
|
||||
import { MetaMaskConnector } from 'wagmi/connectors/metaMask'
|
||||
import { publicProvider } from 'wagmi/providers/public'
|
||||
import { MetaMaskConnector } from "wagmi/connectors/metaMask"
|
||||
import { publicProvider } from "wagmi/providers/public"
|
||||
|
||||
const web3 = new Web3(Web3.givenProvider);
|
||||
|
||||
@ -59,10 +58,10 @@ function Profile() {
|
||||
onClick={() => connect({ connector })}
|
||||
>
|
||||
{connector.name}
|
||||
{!connector.ready && ' (unsupported)'}
|
||||
{!connector.ready && " (unsupported)"}
|
||||
{isLoading &&
|
||||
connector.id === pendingConnector?.id &&
|
||||
' (connecting)'}
|
||||
" (connecting)"}
|
||||
</button>
|
||||
))}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user