xylabs/sdk-react

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

Summary

Maintainability
A
1 hr
Test Coverage

Function OperaEthersLoader has 49 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 = globalThis as any
  const ethereum = global.ethereum
Severity: Minor
Found in packages/crypto/src/contexts/Ethers/Opera.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status