diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f62643e..2bd14651 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed +- Price not shown as "free" label when it is zero. ## [0.21.0] - 2020-07-29 ### Added diff --git a/react/Price.tsx b/react/Price.tsx index 477fe4b0..ac3f0738 100644 --- a/react/Price.tsx +++ b/react/Price.tsx @@ -53,9 +53,13 @@ const Price: StorefrontFunctionComponent = ({ id={`price-${item.id}`} className={`${handles.productPrice} div fw6 fw5-m`} > - {item.sellingPrice && ( - - )} + ) diff --git a/react/tsconfig.json b/react/tsconfig.json index 161872d3..51f909e8 100644 --- a/react/tsconfig.json +++ b/react/tsconfig.json @@ -13,8 +13,8 @@ "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + "noUnusedLocals": false, + "noUnusedParameters": false, "skipLibCheck": true, "sourceMap": true, "strictFunctionTypes": true,