xylabs/sdk-react

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

Summary

Maintainability
B
4 hrs
Test Coverage

Function MyEtherWalletEthersLoader has 104 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 = globalThis as any
  const ethereum = global.ethereum
Severity: Major
Found in packages/crypto/src/contexts/Ethers/MyEtherWallet.tsx - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status