teamdigitale/italia-app

View on GitHub
ts/features/wallet/onboarding/cobadge/screens/start/CoBadgeStartScreen.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function CoBadgeStartComponent has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const CoBadgeStartComponent = (props: Props): React.ReactElement => {
  const { loadAbiConfig, maybeAbiSelected } = props;
  const firstLoading = useRef(true);
  // If a single ABI is selected, we should check the abiConfiguration
  useEffect(() => {

    Avoid too many return statements within this function.
    Open

          return <CoBadgeStartKoUnavailable />;

      There are no issues that match your filters.

      Category
      Status