diff --git a/src/pages/Cart/Cart.jsx b/src/pages/Cart/Cart.jsx index be1e46b..67a269c 100644 --- a/src/pages/Cart/Cart.jsx +++ b/src/pages/Cart/Cart.jsx @@ -43,9 +43,8 @@ const Cart = () => { } let content; - if (isLoading) { - content = () - } else if (hasError) { + + if (hasError) { content = (
Sorry, error
) } else { const filteredCards = cardsList.filter(({ articul }) => { @@ -69,6 +68,7 @@ const Cart = () => {

1. Products - {cardsInCart.length}

+ {isLoading ? : ''} {cardsInCart.length >= 1 ?