xylabs/sdk-react

View on GitHub
packages/crypto/src/contexts/Ethers/MyEtherWallet.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function MyEtherWalletEthersLoader has 93 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const MyEtherWalletEthersLoader: React.FC<PropsWithChildren<Props>> = (props) => {
  const { children } = props
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  const global = window as any
  const ethereum = global.ethereum
Severity: Major
Found in packages/crypto/src/contexts/Ethers/MyEtherWallet.tsx - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status