atlp-rwanda/hackers-ec-Fe

View on GitHub
src/components/carts/CartPage.tsx

Summary

Maintainability
A
3 hrs
Test Coverage
A
100%

Function CartPage has 82 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const CartPage = () => {
    const { carts, numberOfItem } = useAppSelector((state) => state.cart);
    const dispatch = useAppDispatch();
    const { openTaggle } = useAppSelector((state) => state.toggle);
    const paymentToggleModel = (): boolean => {
Severity: Major
Found in src/components/carts/CartPage.tsx - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status