DeFiCh/wallet

View on GitHub
mobile-app/app/screens/WalletNavigator/WalletNavigator.tsx

Summary

Maintainability
B
5 hrs
Test Coverage

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

export function WalletNavigator(): JSX.Element {
  const { isLight } = useThemeContext();
  const navigationRef =
    useRef<NavigationContainerRef<ReactNavigation.RootParamList>>(null);
  const DeFiChainTheme: Theme = getDefaultTheme(isLight);
Severity: Major
Found in mobile-app/app/screens/WalletNavigator/WalletNavigator.tsx - About 3 hrs to fix

    Function WalletStacks has 131 lines of code (exceeds 100 allowed). Consider refactoring.
    Open

      function WalletStacks(): JSX.Element {
        const { width } = Dimensions.get("window");
    
        return (
          <WalletStack.Navigator
    Severity: Major
    Found in mobile-app/app/screens/WalletNavigator/WalletNavigator.tsx - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status