polkadot-js/apps

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

Summary

Maintainability
A
1 hr
Test Coverage

Function ErrorDisplay has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function ErrorDisplay (props: Props): React.ReactElement<Props> {
  const { t } = useTranslation();
  const [{ details, type }, setDetails] = useState<Details>({});

  useEffect((): void => {
Severity: Minor
Found in packages/react-params/src/Param/DispatchError.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status