polkadot-js/apps

View on GitHub
packages/page-explorer/src/BlockInfo/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Entry has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Entry (): React.ReactElement | null {
  const bestNumber = useBestNumber();
  const { value } = useParams<{ value: string }>();
  const [stateValue, setStateValue] = useState<string | undefined>(value);

Severity: Minor
Found in packages/page-explorer/src/BlockInfo/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status