Run eslint on App.tsx

This commit is contained in:
Greg Shuflin 2022-12-08 17:38:38 -08:00
parent 13142d67cc
commit 1d8e079e73

View File

@ -1,12 +1,11 @@
import React, {useState} from 'react'; import React, {useState} from "react";
import logo from './logo.svg'; import "./App.css";
import './App.css';
import Web3 from 'web3'; import Web3 from "web3";
import { WagmiConfig, createClient, configureChains, mainnet, useConnect, useAccount, useDisconnect } from 'wagmi' import { WagmiConfig, createClient, configureChains, mainnet, useConnect, useAccount, useDisconnect } from "wagmi"
import { MetaMaskConnector } from 'wagmi/connectors/metaMask' import { MetaMaskConnector } from "wagmi/connectors/metaMask"
import { publicProvider } from 'wagmi/providers/public' import { publicProvider } from "wagmi/providers/public"
const web3 = new Web3(Web3.givenProvider); const web3 = new Web3(Web3.givenProvider);
@ -59,10 +58,10 @@ function Profile() {
onClick={() => connect({ connector })} onClick={() => connect({ connector })}
> >
{connector.name} {connector.name}
{!connector.ready && ' (unsupported)'} {!connector.ready && " (unsupported)"}
{isLoading && {isLoading &&
connector.id === pendingConnector?.id && connector.id === pendingConnector?.id &&
' (connecting)'} " (connecting)"}
</button> </button>
))} ))}