xylabs/sdk-react

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

Summary

Maintainability
A
2 hrs
Test Coverage

Function OperaEthersLoader has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const OperaEthersLoader: 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/Opera.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status