xylabs/sdk-react

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

Summary

Maintainability
A
1 hr
Test Coverage

Function TrustEthersLoader has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const TrustEthersLoader: React.FC<PropsWithChildren<Props>> = (props) => {
  const { children } = props
  const [error, setError] = useState<Error>()
  const [signer, setSigner] = useState<JsonRpcSigner>()
  const [localAddress, setLocalAddress] = useState<EthAddress>()
Severity: Minor
Found in packages/crypto/src/contexts/Ethers/Trust.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status