Skip to content

Commit

Permalink
Update format error
Browse files Browse the repository at this point in the history
  • Loading branch information
kadiryazici committed Jan 22, 2025
1 parent 7f43d9f commit c68c203
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/lib/ui/thermostat/ClimateSettingStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ function ClimateSettingIcon(props: {

return (
<div
className={classNames(
'seam-climate-setting-status-icon',
`seam-climate-setting-status-icon-${mode}`
)}
className={classNames('seam-climate-setting-status-icon', {
'seam-climate-setting-status-icon-cool': mode === 'cool',
'seam-climate-setting-status-icon-heat': mode === 'heat',
'seam-climate-setting-status-icon-heat-cool': mode === 'heat_cool',
'seam-climate-setting-status-icon-off': mode === 'off',
})}
>
{mode === 'cool' && <ThermostatCoolIcon />}
{mode === 'heat' && <ThermostatHeatIcon />}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/_thermostat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@
align-items: center;
font-size: 14px;

.seam-climate-setting-status-icon-heat_cool {
.seam-climate-setting-status-icon-heat-cool {
font-size: 19px;
}
}
Expand Down

0 comments on commit c68c203

Please sign in to comment.