diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json index 0211a30742..2cf69374a0 100644 --- a/cypress/tsconfig.json +++ b/cypress/tsconfig.json @@ -1,6 +1,8 @@ { "extends": "@mate-academy/students-ts-config", "compilerOptions": { - "sourceMap": false + "sourceMap": false, + "jsx": "react-jsx" } + } diff --git a/index.html b/index.html index 095fb3a453..a49ea264d7 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,10 @@
Sort by
+Items on page
+Your cart is empty
+ ) : ( ++ ${item.product.price} +
+${totalAmount}
++ Total for {totalQuantity} items +
+ + +{totalFavorites} items
+ {favorites.length === 0 ? ( +No favorite products yet.
+ ) : ( +95 models
+95 models
+95 models
++ {paragraph} +
+ ))} +