xylabs/sdk-react

View on GitHub
packages/crypto/src/wallets/third-party/hooks/useEthWallet.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useEthWallet has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useEthWallet = (connector: EthWalletConnectorBase): EthWallet => {
  const [currentAccount, additionalAccounts] = useCurrentAccount(connector)

  const chainId = useChainId(connector)

Severity: Minor
Found in packages/crypto/src/wallets/third-party/hooks/useEthWallet.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status