Coursemology/coursemology2

View on GitHub
client/app/bundles/course/users/pages/UserShow/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function UserShow has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const UserShow: FC<Props> = () => {
  const [isLoading, setIsLoading] = useState(true);
  const dispatch = useAppDispatch();
  const { userId } = useParams();
  const user = useAppSelector((state) => getUserEntity(state, +userId!));
Severity: Minor
Found in client/app/bundles/course/users/pages/UserShow/index.tsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status