wongjiahau/ttap-web

View on GitHub
src/ts/react/otherStuffDrawer.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function OtherStuffDrawer has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const OtherStuffDrawer = (props: IOtherStuffDrawerProps) => {
  const routerLink = (icon: any, text: string, to: string) => (
    <Link style={linkStyle} to={to}>
      <ListItem button={true} onClick={props.onItemClick}>
        <ListItemIcon>{icon}</ListItemIcon>
Severity: Minor
Found in src/ts/react/otherStuffDrawer.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status