DeFiCh/wallet

View on GitHub
mobile-app/app/screens/AppNavigator/screens/Auctions/components/BatchCard.tsx

Summary

Maintainability
B
6 hrs
Test Coverage

File BatchCard.tsx has 305 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import * as React from "react";
import { memo, useMemo, useState } from "react";
import { Text, View, LayoutChangeEvent } from "react-native";
import {
  ThemedText,

    Function BatchCard has 150 lines of code (exceeds 100 allowed). Consider refactoring.
    Open

    export function BatchCard(props: BatchCardProps): JSX.Element {
      const navigation = useNavigation<NavigationProp<AuctionsParamList>>();
      const { address } = useWalletContext();
      const { batch, testID, vault, collateralTokenSymbols } = props;
      const [progressBarHeight, setProgressBarHeight] = useState<number>(0);

      There are no issues that match your filters.

      Category
      Status