DeFiCh/wallet

View on GitHub
mobile-app/app/screens/AppNavigator/screens/Portfolio/PortfolioNavigator.tsx

Summary

Maintainability
F
3 days
Test Coverage

Function PortfolioNavigator has 473 lines of code (exceeds 100 allowed). Consider refactoring.
Open

export function PortfolioNavigator(): JSX.Element {
  const navigation = useNavigation<NavigationProp<PortfolioParamList>>();
  const { isLight } = useThemeContext();
  const { isEvmFeatureEnabled } = useDomainContext();
  const goToNetworkSelect = (): void => {

    File PortfolioNavigator.tsx has 662 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import { NavigationProp, useNavigation } from "@react-navigation/native";
    import { createStackNavigator } from "@react-navigation/stack";
    import { AddressType, WalletToken } from "@waveshq/walletkit-ui/dist/store";
    import BigNumber from "bignumber.js";
    import { Image } from "expo-image";

      There are no issues that match your filters.

      Category
      Status