diff --git a/src/components/Ecogesture/EcogestureCard.tsx b/src/components/Ecogesture/EcogestureCard.tsx index fc0a85d1d58570d08777b20b9f8099d15236342c..84dbe870b2efd176bbed3d8585295f963f256da6 100644 --- a/src/components/Ecogesture/EcogestureCard.tsx +++ b/src/components/Ecogesture/EcogestureCard.tsx @@ -4,6 +4,7 @@ import StyledEcogestureCard from 'components/CommonKit/Card/StyledEcogestureCard import StyledIcon from 'components/CommonKit/Icon/StyledIcon' import { importIconbyId } from 'utils/utils' import './ecogestureCard.scss' +import EfficientyRating from './EfficientyRating' interface EcogestureCardProps { ecogesture: Ecogesture handleClick?: (ecogesture: Ecogesture) => void @@ -49,8 +50,7 @@ const EcogestureCard: React.FC<EcogestureCardProps> = ({ {ecogesture.shortName} </div> <div className="ec-content-nwh"> - <span className="text-16-bold">{ecogesture.nwh}</span> - <span className="text-16-normal"> nWh</span> + <EfficientyRating result={Math.round(ecogesture.nwh / 2)} /> </div> </div> </div>