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 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>
))}