Skip to content

Commit

Permalink
format current temp
Browse files Browse the repository at this point in the history
  • Loading branch information
firsttris committed Jan 24, 2025
1 parent 5d609de commit ba0dcc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TemperaturDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const CurrentTemperature: React.FC<CurrentTemperatureProps> = ({
}) => (
<Display>
<Temperature>
{currentTemperature}
{currentTemperature.toFixed(1)}
<Unit>°C</Unit>
</Temperature>
</Display>
Expand Down

0 comments on commit ba0dcc4

Please sign in to comment.