polkadot-js/apps

View on GitHub
packages/react-params/src/Param/Call.tsx

Summary

Maintainability
A
1 hr
Test Coverage

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

function CallDisplay (props: Props): React.ReactElement<Props> {
  const { t } = useTranslation();
  const { className = '', defaultValue: { value }, isDisabled, label, withLabel } = props;

  if (!isDisabled) {
Severity: Minor
Found in packages/react-params/src/Param/Call.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status